namespace WCS.Application;
///
/// PLC表
///
[SugarTable("WCSPLC","PLC表")]
public class WcsPlc : EntityBaseData
{
///
/// PLCIP地址
///
[Required]
[SugarColumn(ColumnName = "IP", ColumnDescription = "PLCIP地址", Length = 20)]
public string IP { get; set; }
///
/// 设备类型
///
[Required]
[SugarColumn(ColumnName = "Type", ColumnDescription = "设备类型")]
public PLCTypeEnum Type { get; set; }
///
/// 仓库号
///
[SugarColumn(ColumnName = "WareHouseNo", ColumnDescription = "仓库号", Length = 20)]
public string? WareHouseNo { get; set; }
///
/// 描述
///
[SugarColumn(ColumnName = "Text", ColumnDescription = "描述", Length = 100)]
public string? Text { get; set; }
}