¶Ô±ÈÐÂÎļþ |
| | |
| | | using SqlSugar; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using WIDESEA_Core.DB.Models; |
| | | using WIDESEA_Core.Tenants; |
| | | |
| | | namespace WIDESEA_Model.Models |
| | | { |
| | | /// <summary> |
| | | /// ç¨æ·ä¿¡æ¯è¡¨ |
| | | /// </summary> |
| | | //[SugarTable("SysUserInfo")] |
| | | [SugarTable("Sys_User", "ç¨æ·è¡¨")] //('æ°æ®åºè¡¨å'ï¼'æ°æ®åºè¡¨å¤æ³¨') |
| | | public class Sys_User : BaseEntity |
| | | { |
| | | /// <summary> |
| | | /// ç¨æ·ID |
| | | /// </summary> |
| | | [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "ç¨æ·ID")] |
| | | public int User_Id { get; set; } |
| | | |
| | | /// <summary> |
| | | ///å¸å· |
| | | /// </summary> |
| | | [SugarColumn(Length = 100, IsNullable = false, ColumnDescription = "å¸å·")] |
| | | public string UserName { get; set; } |
| | | |
| | | /// <summary> |
| | | /// è§è²ID |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "è§è²ID")] |
| | | public int Role_Id { get; set; } |
| | | |
| | | /// <summary> |
| | | /// è§è²åç§° |
| | | /// </summary> |
| | | [SugarColumn(Length = 100, IsNullable = true, ColumnDescription = "è§è²åç§°")] |
| | | public string RoleName { get; set; } |
| | | |
| | | /// <summary> |
| | | /// çµè¯ |
| | | /// </summary> |
| | | [SugarColumn(Length = 11, IsNullable = true, ColumnDescription = "çµè¯")] |
| | | public string PhoneNo { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 夿³¨ |
| | | /// </summary> |
| | | [SugarColumn(Length = 200, IsNullable = true, ColumnDescription = "夿³¨")] |
| | | public string Remark { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å¯ç |
| | | /// </summary> |
| | | [SugarColumn(Length = 200, IsNullable = false, ColumnDescription = "å¯ç ")] |
| | | public string UserPwd { get; set; } |
| | | |
| | | /// <summary> |
| | | /// çå®å§å |
| | | /// </summary> |
| | | [SugarColumn(Length = 100, IsNullable = false, ColumnDescription = "çå®å§å")] |
| | | public string UserTrueName { get; set; } |
| | | |
| | | /// <summary> |
| | | /// é¨é¨ |
| | | /// </summary> |
| | | [SugarColumn(Length = 100, IsNullable = true, ColumnDescription = "é¨é¨")] |
| | | public string DeptName { get; set; } |
| | | |
| | | /// <summary> |
| | | /// é¨é¨ID |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = true, ColumnDescription = "é¨é¨ID")] |
| | | public int? Dept_Id { get; set; } |
| | | |
| | | /// <summary> |
| | | /// é®ç®± |
| | | /// </summary> |
| | | [SugarColumn(Length = 100, IsNullable = true, ColumnDescription = "é®ç®±")] |
| | | public string Email { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¯å¦å¯ç¨ |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "æ¯å¦å¯ç¨")] |
| | | public byte Enable { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ§å« |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = true, ColumnDescription = "æ§å«")] |
| | | public int? Gender { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 头å |
| | | /// </summary> |
| | | [SugarColumn(Length = 500, IsNullable = true, ColumnDescription = "头å")] |
| | | public string HeadImageUrl { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æåå¯ç ä¿®æ¹æ¶é´ |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = true, IsOnlyIgnoreInsert = true, ColumnDescription = "æåå¯ç ä¿®æ¹æ¶é´")] |
| | | public DateTime? LastModifyPwdDate { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å°å |
| | | /// </summary> |
| | | [SugarColumn(Length = 200, IsNullable = true, ColumnDescription = "å°å")] |
| | | public string Address { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å®¡æ ¸æ¶é´ |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = true, ColumnDescription = "å®¡æ ¸æ¶é´")] |
| | | public DateTime? AuditDate { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å®¡æ ¸ç¶æ |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = true, ColumnDescription = "å®¡æ ¸ç¶æ")] |
| | | public int? AuditStatus { get; set; } |
| | | |
| | | /// <summary> |
| | | /// å®¡æ ¸äºº |
| | | /// </summary> |
| | | [SugarColumn(Length = 100, IsNullable = true, ColumnDescription = "å®¡æ ¸äºº")] |
| | | public string Auditor { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 令ç |
| | | /// </summary> |
| | | [SugarColumn(Length = 500, IsNullable = true, ColumnDescription = "令ç")] |
| | | public string Token { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ç§æ·ID |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "ç§æ·ID", DefaultValue = "0")] |
| | | public long TenantId { get; set; } |
| | | } |
| | | } |