71 lines
1.8 KiB
C#
71 lines
1.8 KiB
C#
using System.Text.Json.Serialization;
|
||
using SqlSugar;
|
||
|
||
namespace WcsMain.DataBase.TableEntity;
|
||
|
||
/// <summary>
|
||
/// 设备表
|
||
/// </summary>
|
||
[SugarTable("tbl_app_stacker")]
|
||
public class AppStacker
|
||
{
|
||
/// <summary>
|
||
/// 设备编号
|
||
/// </summary>
|
||
[SugarColumn(IsPrimaryKey = true, ColumnName = "stacker_id")]
|
||
[JsonPropertyName("stackerId")]
|
||
public int? StackerId { get; set; }
|
||
|
||
/// <summary>
|
||
/// 堆垛机名称
|
||
/// </summary>
|
||
[SugarColumn(ColumnName = "stacker_name")]
|
||
[JsonPropertyName("stackerName")]
|
||
public string? StackerName { get; set; }
|
||
|
||
/// <summary>
|
||
/// 堆垛机状态
|
||
/// </summary>
|
||
/// <remarks>
|
||
/// 0 - 禁用
|
||
/// 1 - 启用
|
||
/// </remarks>
|
||
[SugarColumn(ColumnName = "stacker_status")]
|
||
[JsonPropertyName("stackerStatus")]
|
||
public int? StackerStatus { get; set; }
|
||
|
||
/// <summary>
|
||
/// 货叉状态
|
||
/// </summary>
|
||
[SugarColumn(ColumnName = "fork_status")]
|
||
[JsonPropertyName("forkStatus")]
|
||
public string? ForkStatus { get; set; }
|
||
|
||
/// <summary>
|
||
/// 控制该堆垛机的PLC
|
||
/// </summary>
|
||
[SugarColumn(ColumnName = "action_plc")]
|
||
[JsonPropertyName("actionPlc")]
|
||
public int? ActionPlc { get; set; }
|
||
|
||
/// <summary>
|
||
/// 入库站台,格式 : 101-102-103
|
||
/// </summary>
|
||
[SugarColumn(ColumnName = "in_stand")]
|
||
[JsonPropertyName("inStand")]
|
||
public string? InStand { get; set; }
|
||
|
||
/// <summary>
|
||
/// 出库站台,格式 : 101-102-103
|
||
/// </summary>
|
||
[SugarColumn(ColumnName = "out_stand")]
|
||
[JsonPropertyName("outStand")]
|
||
public string? OutStand { get; set; }
|
||
|
||
/// <summary>
|
||
/// 备注
|
||
/// </summary>
|
||
[SugarColumn(ColumnName = "remark")]
|
||
[JsonPropertyName("remark")]
|
||
public string? Remark { get; set; }
|
||
} |