2024-03-19 11:08:28 +08:00
|
|
|
|
|
2024-03-17 14:53:16 +08:00
|
|
|
|
namespace ZR.Model.MES.wms
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 出货单(物料+客户)
|
2024-03-19 11:08:28 +08:00
|
|
|
|
/// </summary>
|
2024-03-17 14:53:16 +08:00
|
|
|
|
[SugarTable("wm_out_order")]
|
|
|
|
|
|
public class WmOutOrder
|
|
|
|
|
|
{
|
2024-03-19 11:08:28 +08:00
|
|
|
|
|
|
|
|
|
|
//[Navigate(NavigateType.OneToMany, nameof(WmMaterialOutorder.FkOutorderId))]//BookA表中的studenId
|
|
|
|
|
|
//public List<WmMaterialOutorder> Books { get; set; }//注意禁止给books手动赋值
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 出库单号(EG+时间)
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = false, ColumnName = "shipment_num")]
|
|
|
|
|
|
public string ShipmentNum { get; set; }
|
|
|
|
|
|
|
2024-03-17 14:53:16 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 客户id
|
2024-03-19 11:08:28 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(ColumnName = "custom_id")]
|
|
|
|
|
|
public string CustomId { get; set; }
|
|
|
|
|
|
|
2024-03-17 14:53:16 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 客户代码
|
2024-03-19 11:08:28 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(ColumnName = "custom_no")]
|
|
|
|
|
|
public string CustomNo { get; set; }
|
|
|
|
|
|
|
2024-03-17 14:53:16 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 客户名称
|
2024-03-19 11:08:28 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(ColumnName = "custom_name")]
|
|
|
|
|
|
public string CustomName { get; set; }
|
|
|
|
|
|
|
2024-03-17 14:53:16 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 客户地址
|
2024-03-19 11:08:28 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(ColumnName = "custom_address")]
|
|
|
|
|
|
public string CustomAddress { get; set; }
|
|
|
|
|
|
|
2024-03-17 14:53:16 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 备注
|
2024-03-19 11:08:28 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string Remarks { get; set; }
|
|
|
|
|
|
|
2024-03-17 14:53:16 +08:00
|
|
|
|
/// <summary>
|
2024-03-19 11:08:28 +08:00
|
|
|
|
/// 出库单状态(1-出库中 2-出库完成 3-弃用)
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public int Type { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 状态(0-停用 1-启用)
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public int? Status { get; set; }
|
|
|
|
|
|
|
2024-03-17 14:53:16 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 年
|
2024-03-19 11:08:28 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
public int? Year { get; set; }
|
|
|
|
|
|
|
2024-03-17 14:53:16 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 周
|
2024-03-19 11:08:28 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
public int? Week { get; set; }
|
|
|
|
|
|
|
2024-03-17 14:53:16 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 日
|
2024-03-19 11:08:28 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
public int? Date { get; set; }
|
|
|
|
|
|
|
2024-03-17 14:53:16 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 创建人
|
2024-03-19 11:08:28 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(ColumnName = "cREATED_BY")]
|
|
|
|
|
|
public string CreatedBy { get; set; }
|
|
|
|
|
|
|
2024-03-17 14:53:16 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 创建时间
|
2024-03-19 11:08:28 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(ColumnName = "cREATED_TIME")]
|
|
|
|
|
|
public DateTime? CreatedTime { get; set; }
|
|
|
|
|
|
|
2024-03-17 14:53:16 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 更新人
|
2024-03-19 11:08:28 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(ColumnName = "uPDATED_BY")]
|
|
|
|
|
|
public string UpdatedBy { get; set; }
|
|
|
|
|
|
|
2024-03-17 14:53:16 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 更新时间
|
2024-03-19 11:08:28 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(ColumnName = "uPDATED_TIME")]
|
|
|
|
|
|
public DateTime? UpdatedTime { get; set; }
|
|
|
|
|
|
|
2024-03-17 14:53:16 +08:00
|
|
|
|
}
|
2024-03-19 11:08:28 +08:00
|
|
|
|
}
|