You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
DSWMS/Vue.Net/VOL.Entity/DomainModels/CTNMNG/Tb_User.cs

125 lines
3.3 KiB
C#

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

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
{
/// <summary>
///主键ID
/// </summary>
[Key]
[Display(Name ="主键ID")]
[Column(TypeName="bigint")]
[Required(AllowEmptyStrings=false)]
public long Id { get; set; }
/// <summary>
///Guid主键
/// </summary>
[Display(Name ="Guid主键")]
[Column(TypeName="uniqueidentifier")]
public Guid? Gid { get; set; }
/// <summary>
///登录名
/// </summary>
[Display(Name ="登录名")]
[MaxLength(510)]
[Column(TypeName="nvarchar(510)")]
[Editable(true)]
public string LoginName { get; set; }
/// <summary>
///密码
/// </summary>
[Display(Name ="密码")]
[MaxLength(510)]
[Column(TypeName="nvarchar(510)")]
[Editable(true)]
public string Password { get; set; }
/// <summary>
///昵称
/// </summary>
[Display(Name ="昵称")]
[MaxLength(510)]
[Column(TypeName="nvarchar(510)")]
[Editable(true)]
public string NickName { get; set; }
/// <summary>
///Email
/// </summary>
[Display(Name ="Email")]
[MaxLength(510)]
[Column(TypeName="nvarchar(510)")]
[Editable(true)]
public string Email { get; set; }
/// <summary>
///用户类型
/// </summary>
[Display(Name ="用户类型")]
[JsonIgnore]
[Column(TypeName="int")]
[Required(AllowEmptyStrings=false)]
public int UserType { get; set; }
/// <summary>
///客户绑定单位
/// </summary>
[Display(Name ="客户绑定单位")]
[MaxLength(510)]
[Column(TypeName="nvarchar(510)")]
[Editable(true)]
public string CustomerName { get; set; }
/// <summary>
///更新时间戳
/// </summary>
[Display(Name ="更新时间戳")]
[JsonIgnore]
[Column(TypeName="bigint")]
[Required(AllowEmptyStrings=false)]
public long UpTime { get; set; }
/// <summary>
///创建时间戳秒级
/// </summary>
[Display(Name ="创建时间戳秒级")]
[JsonIgnore]
[Column(TypeName="bigint")]
[Required(AllowEmptyStrings=false)]
public long AddTime { get; set; }
/// <summary>
///数据状态 -1删除 0为不可用 1正常 1-99为各种状态 100为完成
/// </summary>
[Display(Name ="数据状态 -1删除 0为不可用 1正常 1-99为各种状态 100为完成")]
[JsonIgnore]
[Column(TypeName="smallint")]
[Required(AllowEmptyStrings=false)]
public int Status { get; set; }
/// <summary>
/// 客户公司ID
/// </summary>
public Guid? CompanyId { get; set; }
}
}