using Newtonsoft.Json;
/*
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
*如果数据库字段发生变化,请在代码生器重新生成此Model
*/
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;
namespace VOL.Entity.DomainModels
{
[Entity(TableCnName = "注册用户审核",TableName = "Tb_User")]
public class Tb_User:BaseEntity
{
///
///主键ID
///
[Key]
[Display(Name ="主键ID")]
[Column(TypeName="bigint")]
[Required(AllowEmptyStrings=false)]
public long Id { get; set; }
///
///Guid主键
///
[Display(Name ="Guid主键")]
[Column(TypeName="uniqueidentifier")]
public Guid? Gid { get; set; }
///
///登录名
///
[Display(Name ="登录名")]
[MaxLength(510)]
[Column(TypeName="nvarchar(510)")]
[Editable(true)]
public string LoginName { get; set; }
///
///密码
///
[Display(Name ="密码")]
[MaxLength(510)]
[Column(TypeName="nvarchar(510)")]
[Editable(true)]
public string Password { get; set; }
///
///昵称
///
[Display(Name ="昵称")]
[MaxLength(510)]
[Column(TypeName="nvarchar(510)")]
[Editable(true)]
public string NickName { get; set; }
///
///Email
///
[Display(Name ="Email")]
[MaxLength(510)]
[Column(TypeName="nvarchar(510)")]
[Editable(true)]
public string Email { get; set; }
///
///用户类型
///
[Display(Name ="用户类型")]
[JsonIgnore]
[Column(TypeName="int")]
[Required(AllowEmptyStrings=false)]
public int UserType { get; set; }
///
///客户绑定单位
///
[Display(Name ="客户绑定单位")]
[MaxLength(510)]
[Column(TypeName="nvarchar(510)")]
[Editable(true)]
public string CustomerName { get; set; }
///
///更新时间戳
///
[Display(Name ="更新时间戳")]
[JsonIgnore]
[Column(TypeName="bigint")]
[Required(AllowEmptyStrings=false)]
public long UpTime { get; set; }
///
///创建时间戳秒级
///
[Display(Name ="创建时间戳秒级")]
[JsonIgnore]
[Column(TypeName="bigint")]
[Required(AllowEmptyStrings=false)]
public long AddTime { get; set; }
///
///数据状态 -1删除 0为不可用 1正常 1-99为各种状态 100为完成
///
[Display(Name ="数据状态 -1删除 0为不可用 1正常 1-99为各种状态 100为完成")]
[JsonIgnore]
[Column(TypeName="smallint")]
[Required(AllowEmptyStrings=false)]
public int Status { get; set; }
///
/// 客户公司ID
///
public Guid? CompanyId { get; set; }
}
}