33 lines
830 B
C#
33 lines
830 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using AyaNova.Biz;
|
|
using System.ComponentModel.DataAnnotations;
|
|
namespace AyaNova.Models
|
|
{
|
|
|
|
public partial class User
|
|
{
|
|
public long Id { get; set; }
|
|
public DateTime Created { get; set; }
|
|
public uint ConcurrencyToken { get; set; }
|
|
[Required]
|
|
public long OwnerId { get; set; }
|
|
public string Name { get; set; }
|
|
public string Login { get; set; }
|
|
public string Password { get; set; }
|
|
public string Salt { get; set; }
|
|
public AuthorizationRoles Roles { get; set; }
|
|
public string DlKey { get; set; }
|
|
public DateTime? DlKeyExpire { get; set; }
|
|
public long LocaleId { get; set; }
|
|
|
|
|
|
public User()
|
|
{
|
|
Created = System.DateTime.UtcNow;
|
|
}
|
|
|
|
}
|
|
|
|
}
|