56 lines
1.5 KiB
C#
56 lines
1.5 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 ULog
|
|
{
|
|
/// <summary>
|
|
/// id
|
|
/// </summary>
|
|
[SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
|
|
public int id { get; set; }
|
|
/// <summary>
|
|
/// 操作人
|
|
/// </summary>
|
|
[SugarColumn(ColumnDataType = "varchar(50)")]
|
|
public string Uname { get; set; }
|
|
/// <summary>
|
|
/// 创建时间
|
|
/// </summary>
|
|
[SugarColumn(ColumnDataType = "datetime(3)")]
|
|
|
|
public System.DateTime Creationtime { get; set; }
|
|
/// <summary>
|
|
/// 操作类型
|
|
/// </summary>
|
|
[SugarColumn(ColumnDataType = "varchar(20)")]
|
|
|
|
public string operatetype { get; set; }
|
|
/// <summary>
|
|
/// SN号
|
|
/// </summary>
|
|
[SugarColumn(ColumnDataType = "varchar(100)",IsNullable =true)]
|
|
|
|
public string faceSN { get; set; }
|
|
/// <summary>
|
|
/// 酒店id
|
|
/// </summary>
|
|
[SugarColumn(ColumnDataType = "int", IsNullable = true)]
|
|
|
|
public Nullable<int> hotelcode { get; set; }
|
|
/// <summary>
|
|
/// 房间id
|
|
/// </summary>
|
|
[SugarColumn(ColumnDataType = "int", IsNullable = true)]
|
|
public Nullable<int> roomid { get; set; }
|
|
}
|
|
}
|