62 lines
1.9 KiB
C#
62 lines
1.9 KiB
C#
using SqlSugar;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Face.Domain.Application.FaceAll
|
|
{
|
|
/// <summary>
|
|
/// 测试用户表
|
|
/// </summary>
|
|
public class TestUser
|
|
{
|
|
/// <summary>
|
|
/// id
|
|
/// </summary>
|
|
[SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
|
|
public int id { get; set; }
|
|
/// <summary>
|
|
/// 测试名字
|
|
/// </summary>
|
|
[SugarColumn(ColumnDataType = "varchar(50)", IsNullable = true)]
|
|
public string name { get; set; }
|
|
/// <summary>
|
|
/// 性别
|
|
/// </summary>
|
|
[SugarColumn(ColumnDataType = "int", IsNullable = true)]
|
|
public Nullable<int> sex { get; set; }
|
|
/// <summary>
|
|
/// 电话
|
|
/// </summary>
|
|
[SugarColumn(ColumnDataType = "varchar(50)", IsNullable = true)]
|
|
public string phone { get; set; }
|
|
/// <summary>
|
|
/// 身份证
|
|
/// </summary>
|
|
[SugarColumn(ColumnDataType = "varchar(100)", IsNullable = true)]
|
|
public string idNumber { get; set; }
|
|
/// <summary>
|
|
/// 图片
|
|
/// </summary>
|
|
[SugarColumn(ColumnDataType = "varchar(200)", IsNullable = true)]
|
|
public string picture { get; set; }
|
|
/// <summary>
|
|
/// 创建时间
|
|
/// </summary>
|
|
[SugarColumn(ColumnDataType = "datetime", IsNullable = true)]
|
|
public Nullable<System.DateTime> creationTime { get; set; }
|
|
/// <summary>
|
|
/// 状态 0是冻结 1是正常
|
|
/// </summary>
|
|
[SugarColumn(ColumnDataType = "int", IsNullable = true)]
|
|
public Nullable<int> state { get; set; }
|
|
/// <summary>
|
|
/// 创建人
|
|
/// </summary>
|
|
[SugarColumn(ColumnDataType = "varchar(50)", IsNullable = true)]
|
|
public string establish { get; set; }
|
|
}
|
|
}
|