23 lines
586 B
C#
23 lines
586 B
C#
namespace SampleApi.Models
|
|
{
|
|
// This file is part of the EonaCat project(s) which is released under the Apache License.
|
|
// See the LICENSE file or go to https://EonaCat.com/license for full license details.
|
|
|
|
public class User
|
|
{
|
|
public Guid Id { get; set; }
|
|
|
|
public string Name { get; set; } = "";
|
|
|
|
public string Email { get; set; } = "";
|
|
|
|
public UserRole Role { get; set; }
|
|
|
|
public DateTime CreatedAt { get; set; }
|
|
|
|
public Address? Address { get; set; }
|
|
|
|
public List<string> Tags { get; set; } = new();
|
|
}
|
|
}
|