| | |
| | | /// <summary> |
| | | /// 电话 |
| | | /// </summary> |
| | | [SugarColumn(ColumnDescription = "电话", IsNullable = true)] |
| | | [SugarColumn(ColumnDescription = "电话", ColumnDataType = "nvarchar(30)", IsNullable = true)] |
| | | public string Phone { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 名称 |
| | | /// </summary> |
| | | [SugarColumn(ColumnDescription = "名称",Length =100)] |
| | | [SugarColumn(ColumnDescription = "名称", ColumnDataType = "nvarchar(100)")] |
| | | public string name { get; set; } |
| | | /// <summary> |
| | | /// 电话号码 |
| | | /// </summary> |
| | | [SugarColumn(ColumnDescription = "电话号码", Length = 30)] |
| | | [SugarColumn(ColumnDescription = "电话号码", ColumnDataType = "nvarchar(30)")] |
| | | public string ItCode { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 昵称 |
| | | /// </summary> |
| | | [SugarColumn(ColumnDescription = "昵称", Length = 100, IsNullable =true)] |
| | | [SugarColumn(ColumnDescription = "用户昵称", ColumnDataType = "nvarchar(100)", IsNullable = true)] |
| | | public string? Nickname { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 密码 |
| | | /// </summary> |
| | | [SugarColumn(ColumnDescription = "密码", Length = 100,IsNullable = true)] |
| | | [SugarColumn(ColumnDescription = "密码", ColumnDataType = "nvarchar(100)", IsNullable = true)] |
| | | public string? PassWord { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 头像地址 |
| | | /// </summary> |
| | | [SugarColumn(ColumnDescription = "头像地址" ,IsNullable =true)] |
| | | [SugarColumn(ColumnDescription = "头像地址", ColumnDataType = "nvarchar(500)", IsNullable = true)] |
| | | public string? Avatar { get; set; } |
| | | /// <summary> |
| | | /// 微信WxOpenId |
| | | /// </summary> |
| | | [SugarColumn(ColumnDescription = "WxOpenId", Length =100,IsNullable = true)] |
| | | [SugarColumn(ColumnDescription = "WxOpenId", ColumnDataType = "nvarchar(100)", IsNullable = true)] |
| | | public string? WxOpenId { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 用户表情。 |
| | | /// </summary> |
| | | [Navigate(NavigateType.OneToOne, nameof(Id),nameof(UserWorker.UserId))] |
| | | public UserWorker Worek { get; set; } |
| | | } |
| | | } |