using System; using System.Collections.Generic; using System.Linq; using System.Text.Json.Serialization; using SqlSugar; namespace Yi.Framework.Model.Models { /// /// 用户表 /// [SugarTable("User")] public partial class UserEntity:IBaseModelEntity { public UserEntity() { this.CreateTime = DateTime.Now; } [JsonConverter(typeof(ValueToStringConverter))] [SugarColumn(ColumnName="Id" ,IsPrimaryKey = true )] public long Id { get; set; } /// /// /// [SugarColumn(ColumnName="Name" )] public string Name { get; set; } /// /// /// [SugarColumn(ColumnName="Age" )] public int? Age { get; set; } /// /// /// [SugarColumn(ColumnName="CreateUser" )] public long? CreateUser { get; set; } /// /// /// [SugarColumn(ColumnName="CreateTime" )] public DateTime? CreateTime { get; set; } /// /// /// [SugarColumn(ColumnName="ModifyUser" )] public long? ModifyUser { get; set; } /// /// /// [SugarColumn(ColumnName="ModifyTime" )] public DateTime? ModifyTime { get; set; } /// /// /// [SugarColumn(ColumnName="IsDeleted" )] public bool? IsDeleted { get; set; } /// /// /// [SugarColumn(ColumnName="TenantId" )] public long? TenantId { get; set; } /// /// /// [SugarColumn(ColumnName="UserName" )] public string UserName { get; set; } /// /// /// [SugarColumn(ColumnName="Password" )] public string Password { get; set; } /// /// /// [SugarColumn(ColumnName="Salt" )] public string Salt { get; set; } /// /// /// [SugarColumn(ColumnName="Icon" )] public string Icon { get; set; } /// /// /// [SugarColumn(ColumnName="Nick" )] public string Nick { get; set; } /// /// /// [SugarColumn(ColumnName="Email" )] public string Email { get; set; } /// /// /// [SugarColumn(ColumnName="Ip" )] public string Ip { get; set; } /// /// /// [SugarColumn(ColumnName="Address" )] public string Address { get; set; } /// /// /// [SugarColumn(ColumnName="Phone" )] public string Phone { get; set; } /// /// /// [SugarColumn(ColumnName="Introduction" )] public string Introduction { get; set; } /// /// 排序字段 /// [SugarColumn(ColumnName="OrderNum" )] public int? OrderNum { get; set; } /// /// 描述 /// [SugarColumn(ColumnName="Remark" )] public string Remark { get; set; } /// /// 部门id /// [SugarColumn(ColumnName="DeptId" )] public long? DeptId { get; set; } /// /// 性别 /// [SugarColumn(ColumnName="Sex" )] public int? Sex { get; set; } } }