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
|
{
|
/// <summary>
|
/// 用户工人
|
/// </summary>
|
[Description("用户工人")]
|
[CoderFirst]
|
public class UserWorker : BaseModel
|
{
|
/// <summary>
|
/// 用户工人Id
|
/// </summary>
|
[SugarColumn(ColumnDescription = "用户工人ID", IsPrimaryKey = true, IsIdentity = true)]
|
public int Id { get; set; }
|
|
/// <summary>
|
/// 用户id
|
/// </summary>
|
[SugarColumn(ColumnDescription = "用户id")]
|
public int UserId { get; set; }
|
|
/// <summary>
|
/// 身份证正面路径
|
/// </summary>
|
[SugarColumn(ColumnDescription = "身份证正面路径", ColumnDataType = "nvarchar(500)")]
|
public string IdCardFace { get; set; }
|
|
/// <summary>
|
/// 身份证反面路径
|
/// </summary>
|
[SugarColumn(ColumnDescription = "身份证反面路径", ColumnDataType = "nvarchar(500)")]
|
public string IdCardBack { get; set; }
|
|
/// <summary>
|
/// 姓名
|
/// </summary>
|
[SugarColumn(ColumnDescription = "姓名", ColumnDataType = "nvarchar(100)", IsNullable = true)]
|
public string name { get; set; }
|
|
/// <summary>
|
/// 电话号码
|
/// </summary>
|
[SugarColumn(ColumnDescription = "电话号码", ColumnDataType = "nvarchar(30)", IsNullable = true)]
|
public string Phone { get; set; }
|
|
/// <summary>
|
/// 身份证号
|
/// </summary>
|
[SugarColumn(ColumnDescription = "身份证号", ColumnDataType = "nvarchar(30)", IsNullable = true)]
|
public string IdCode { get; set; }
|
|
/// <summary>
|
/// 联系地址
|
/// </summary>
|
[SugarColumn(ColumnDescription = "联系地址", ColumnDataType = "nvarchar(500)", IsNullable = true)]
|
public string Address{ get; set; }
|
|
/// <summary>
|
/// 简历描述
|
/// </summary>
|
[SugarColumn(ColumnDescription = "简历描述", ColumnDataType = "nvarchar(2000)", IsNullable = true)]
|
public string Resume { get; set; }
|
|
/// <summary>
|
/// 提现余额
|
/// </summary>
|
[SugarColumn(ColumnDescription = "提现余额", Length = 18, DecimalDigits = 2, IsNullable = true)]
|
public decimal? TiXianYue { get; set; }
|
|
|
|
/// <summary>
|
/// 人脸ID
|
/// </summary>
|
[SugarColumn(ColumnDescription = "人脸ID", IsNullable = true)]
|
public string? IAIPersonId { get; set; }
|
|
/// <summary>
|
/// 人脸库ID
|
/// </summary>
|
[SugarColumn(ColumnDescription = "人脸库ID", IsNullable = true)]
|
public string? IAIGroupId { get; set; }
|
|
|
/// <summary>
|
/// 人脸库名称
|
/// </summary>
|
[SugarColumn(ColumnDescription = "人脸库名称", IsNullable = true)]
|
public string? IAIGroupName { get; set; }
|
|
/// <summary>
|
/// 性别 0代表未填写,1代表男性,2代表女性。
|
/// </summary>
|
[SugarColumn(ColumnDescription = "人脸库名称", IsNullable = true)]
|
public long? Gender { get; set; } = 0;
|
|
}
|
}
|