123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172 |
-
- using System;
- using System.ComponentModel.DataAnnotations;
- using System.ComponentModel.DataAnnotations.Schema;
- namespace CZFW.Framework.Model.Entity
- {
-
-
-
- [Table("cz_sysuser")]
- public class SysUserEntity : EntityBase
- {
-
-
-
- [Display(Name = @"登录账号")]
- [StringLength(128)]
- [Required]
- public string Account { get; set; }
-
-
-
- [Display(Name = @"昵称")]
- [StringLength(128)]
- public string NickName { get; set; }
-
-
-
- [Display(Name = @"头像")]
- [DataType(DataType.ImageUrl)]
- [StringLength(512)]
- public string HeadIcon { get; set; }
-
-
-
- [Display(Name = @"性别")]
- [DataType("GenderMark")]
- public int? Gender { get; set; }
-
-
-
- [Display(Name = @"生日")]
- [DataType(DataType.Date)]
- public DateTime? Birthday { get; set; }
-
-
-
- [Display(Name = @"手机号")]
- [StringLength(128)]
- public string MobilePhone { get; set; }
-
-
-
- [Display(Name = @"邮箱")]
- [DataType(DataType.EmailAddress)]
- [StringLength(128)]
- public string Email { get; set; }
-
-
-
- [Display(Name = @"微信")]
- [StringLength(128)]
- public string WeChat { get; set; }
-
-
-
- [Display(Name = @"上级主管")]
- [StringLength(36)]
- public string ManagerId { get; set; }
-
-
-
- [Display(Name = @"安全级别")]
- [DataType("SecurityMark")]
- public int? SecurityLevel { get; set; }
-
-
-
- [Display(Name = @"个性签名")]
- [StringLength(128)]
- public string Signature { get; set; }
-
-
-
- [Display(Name = @"所在部门")]
- [StringLength(36)]
- public string DepartmentId { get; set; }
-
-
-
- [Display(Name = @"组织ID")]
- [StringLength(128)]
- public string OrganizeId { get; set; }
-
-
-
- [Display(Name = @"角色ID")]
- [StringLength(128)]
- public string RoleId { get; set; }
-
-
-
- [Display(Name = @"注释内容")]
- [StringLength(128)]
- public string DutyId { get; set; }
-
-
-
- [Display(Name = @"管理员")]
- [DataType("YesNoMark")]
- public bool? IsAdministrator { get; set; }
-
-
-
- [Display(Name = @"删除")]
- [DataType("YesNoMark")]
- public bool? Deleted { get; set; }
-
-
-
- [Display(Name = @"启用")]
- [DataType("YesNoMark")]
- public bool? Enabled { get; set; }
-
-
-
- [Display(Name = @"描述")]
- public string Description { get; set; }
-
-
-
- [Display(Name = @"删除时间")]
- public DateTime? DeleteTime { get; set; }
-
-
-
- [Display(Name = @"删除人")]
- [StringLength(36)]
- public string DeleteUserId { get; set; }
- }
- }
|