2024-09-23 11:54:56 +08:00
|
|
|
namespace DOAN.Model.PBL
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 料架表
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarTable("storagelocation")]
|
|
|
|
|
public class Storagelocation
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Id
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
|
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
|
2024-11-01 11:35:11 +08:00
|
|
|
/// <summary>
|
|
|
|
|
/// 料架号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "rack_code")]
|
|
|
|
|
public string RackCode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 层号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "layer_num")]
|
|
|
|
|
public int LayerNum { get; set; }
|
|
|
|
|
|
2024-09-23 11:54:56 +08:00
|
|
|
/// <summary>
|
|
|
|
|
/// 零件号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Partnumber { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2024-11-01 11:35:11 +08:00
|
|
|
/// 最大容量
|
2024-09-23 11:54:56 +08:00
|
|
|
/// </summary>
|
2024-11-01 11:35:11 +08:00
|
|
|
[SugarColumn(ColumnName = "max_capacity")]
|
|
|
|
|
public int MaxCapacity { get; set; }
|
2024-09-23 11:54:56 +08:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 箱子数
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "package_num")]
|
|
|
|
|
public int? PackageNum { get; set; }
|
2025-01-24 11:44:27 +08:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 触发报警的箱子数
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "alarm_num")]
|
|
|
|
|
public int? AlarmNum { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否缺料报警
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "is_lack_alarm")]
|
|
|
|
|
public int? IsLackAlarm { get; set; }
|
|
|
|
|
|
2024-11-01 17:00:01 +08:00
|
|
|
/// <summary>
|
2025-01-24 11:44:27 +08:00
|
|
|
/// 是否处于亮灯状态
|
2024-11-01 17:00:01 +08:00
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "is_light")]
|
|
|
|
|
public int? IsLight { get; set; }
|
2024-09-23 11:54:56 +08:00
|
|
|
|
2024-11-08 08:42:33 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2024-11-08 10:10:59 +08:00
|
|
|
///PLC地址(亮灯拣货)
|
2024-11-08 08:42:33 +08:00
|
|
|
/// </summary>
|
2025-01-16 10:13:50 +08:00
|
|
|
[SugarColumn(ColumnName = "plc_light_address")]
|
2024-11-08 08:42:33 +08:00
|
|
|
public string PlcAddress { get; set; }
|
|
|
|
|
|
2025-01-16 10:13:50 +08:00
|
|
|
///// <summary>
|
|
|
|
|
///// PLC地址(空箱补料)
|
|
|
|
|
///// </summary>
|
|
|
|
|
//[SugarColumn(ColumnName = "plc_address_2")]
|
|
|
|
|
//public string PlcAddress2 { get; set; }
|
2024-11-08 10:10:59 +08:00
|
|
|
|
2024-09-23 11:54:56 +08:00
|
|
|
/// <summary>
|
|
|
|
|
/// 创建人
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "cREATED_BY")]
|
|
|
|
|
public string CreatedBy { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 创建时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "cREATED_TIME")]
|
|
|
|
|
public DateTime? CreatedTime { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 更新人
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "uPDATED_BY")]
|
|
|
|
|
public string UpdatedBy { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 更新时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "uPDATED_TIME")]
|
|
|
|
|
public DateTime? UpdatedTime { get; set; }
|
2025-01-16 10:13:50 +08:00
|
|
|
|
|
|
|
|
[SugarColumn(ColumnName = "remark")]
|
|
|
|
|
public string Remark { get; set; }
|
2024-09-23 11:54:56 +08:00
|
|
|
}
|
|
|
|
|
}
|