Files
raven/server/AyaNova/models/User.cs
2018-06-28 23:41:48 +00:00

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;
}
}
}