修正表结构
This commit is contained in:
48
DOAN.Model/PBL/Light_Log.cs
Normal file
48
DOAN.Model/PBL/Light_Log.cs
Normal file
@@ -0,0 +1,48 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DOAN.Model.PBL
|
||||
{
|
||||
/// <summary>
|
||||
/// 库存日志
|
||||
/// </summary>
|
||||
[SugarTable("light_log")]
|
||||
public class Light_Log
|
||||
{
|
||||
/// <summary>
|
||||
/// 雪花
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = false)]
|
||||
public string Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 1亮灯、2灭灯
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "light_operation")]
|
||||
public int LightOperation { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 货架号
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "shelf_code")]
|
||||
public string ShelfCode { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 操作者
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "operationer")]
|
||||
public string Operationer { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "created_time")]
|
||||
public DateTime? CreatedTime { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user