using cylsg.Core; using cylsg.Core.Attributes; using SqlSugar; using System; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace cylsg.Model.UserModel { /// /// 用户工人 /// [Description("用户工人")] [CoderFirst] public class UserWorker : BaseModel { /// /// 用户工人Id /// [SugarColumn(ColumnDescription = "用户工人ID", IsPrimaryKey = true, IsIdentity = true)] public int Id { get; set; } /// /// 用户id /// [SugarColumn(ColumnDescription = "用户id")] public int UserId { get; set; } /// /// 身份证正面路径 /// [SugarColumn(ColumnDescription = "身份证正面路径", ColumnDataType = "nvarchar(500)")] public string IdCardFace { get; set; } /// /// 身份证反面路径 /// [SugarColumn(ColumnDescription = "身份证反面路径", ColumnDataType = "nvarchar(500)")] public string IdCardBack { get; set; } /// /// 姓名 /// [SugarColumn(ColumnDescription = "姓名", ColumnDataType = "nvarchar(100)", IsNullable = true)] public string name { get; set; } /// /// 电话号码 /// [SugarColumn(ColumnDescription = "电话号码", ColumnDataType = "nvarchar(30)", IsNullable = true)] public string Phone { get; set; } /// /// 身份证号 /// [SugarColumn(ColumnDescription = "身份证号", ColumnDataType = "nvarchar(30)", IsNullable = true)] public string IdCode { get; set; } /// /// 联系地址 /// [SugarColumn(ColumnDescription = "联系地址", ColumnDataType = "nvarchar(500)", IsNullable = true)] public string Address{ get; set; } /// /// 简历描述 /// [SugarColumn(ColumnDescription = "简历描述", ColumnDataType = "nvarchar(2000)", IsNullable = true)] public string Resume { get; set; } /// /// 提现余额 /// [SugarColumn(ColumnDescription = "提现余额", Length = 18, DecimalDigits = 2, IsNullable = true)] public decimal? TiXianYue { get; set; } /// /// 人脸ID /// [SugarColumn(ColumnDescription = "人脸ID", IsNullable = true)] public string? IAIPersonId { get; set; } /// /// 人脸库ID /// [SugarColumn(ColumnDescription = "人脸库ID", IsNullable = true)] public string? IAIGroupId { get; set; } /// /// 人脸库名称 /// [SugarColumn(ColumnDescription = "人脸库名称", IsNullable = true)] public string? IAIGroupName { get; set; } /// /// 性别 0代表未填写,1代表男性,2代表女性。 /// [SugarColumn(ColumnDescription = "人脸库名称", IsNullable = true)] public long? Gender { get; set; } = 0; } }