| | |
| | | UserExpectJobs = []; |
| | | UserCredentials = []; |
| | | Photos = []; |
| | | EnterpriseEmployees = []; |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | /// <summary> |
| | | /// 手机号 |
| | | /// </summary> |
| | | /// <remarks>登录手机号</remarks> |
| | | [MaxLength(11)] |
| | | public string PhoneNumber { get; set; } |
| | | |
| | |
| | | /// 是否实名 |
| | | /// </summary> |
| | | public bool IsReal { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 实名时间 |
| | | /// </summary> |
| | | public DateTime? RealTime { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 实名方式 |
| | | /// </summary> |
| | | public EnumUserRealMethod? RealMethod { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 手机号 |
| | | /// </summary> |
| | | /// <remarks>联系电话</remarks> |
| | | [MaxLength(11)] |
| | | public string ContactPhoneNumber { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 常驻省份编号 |
| | |
| | | /// </summary> |
| | | public List<UserPhoto> Photos { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 灵工 |
| | | /// </summary> |
| | | public List<EnterpriseEmployee> EnterpriseEmployees { get; set; } |
| | | |
| | | public void Configure(EntityTypeBuilder<User> entityBuilder, DbContext dbContext, Type dbContextLocator) |
| | | { |
| | | entityBuilder |