初始化
This commit is contained in:
61
Face.Domain/Application/FaceAll/TestUser.cs
Normal file
61
Face.Domain/Application/FaceAll/TestUser.cs
Normal file
@@ -0,0 +1,61 @@
|
||||
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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user