Files
sy_hx_pbl_backend/DOAN.Model/PBL/Light_Log.cs

58 lines
1.4 KiB
C#
Raw Normal View History

2024-11-01 11:35:11 +08:00
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")]
2024-11-08 08:42:33 +08:00
public class Light_Log
2024-11-01 11:35:11 +08:00
{
/// <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")]
2024-11-08 08:42:33 +08:00
public string ShelfCode { get; set; }
2024-11-01 11:35:11 +08:00
2024-11-13 15:53:15 +08:00
/// <summary>
/// 层号
/// </summary>
[SugarColumn(ColumnName = "layer_num")]
public int LayerNum { get; set; }
2024-11-01 11:35:11 +08:00
2024-11-13 15:53:15 +08:00
2024-11-01 11:35:11 +08:00
/// <summary>
/// 操作者
/// </summary>
[SugarColumn(ColumnName = "operationer")]
2024-11-08 08:42:33 +08:00
public string Operationer { get; set; }
/// <summary>
/// 是否plc成功操作
/// </summary>
[SugarColumn(ColumnName = "is_success")]
public bool IsSuccess { get; set; }
2024-11-01 11:35:11 +08:00
/// <summary>
/// 创建时间
/// </summary>
[SugarColumn(ColumnName = "created_time")]
public DateTime? CreatedTime { get; set; }
}
}