100 lines
2.6 KiB
C#
100 lines
2.6 KiB
C#
|
||
namespace ZR.Model.MES.wms
|
||
{
|
||
/// <summary>
|
||
/// 出货单(物料+客户)
|
||
/// </summary>
|
||
[SugarTable("wm_out_order")]
|
||
public class WmOutOrder
|
||
{
|
||
|
||
//[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; }
|
||
|
||
/// <summary>
|
||
/// 客户id
|
||
/// </summary>
|
||
[SugarColumn(ColumnName = "custom_id")]
|
||
public string CustomId { get; set; }
|
||
|
||
/// <summary>
|
||
/// 客户代码
|
||
/// </summary>
|
||
[SugarColumn(ColumnName = "custom_no")]
|
||
public string CustomNo { get; set; }
|
||
|
||
/// <summary>
|
||
/// 客户名称
|
||
/// </summary>
|
||
[SugarColumn(ColumnName = "custom_name")]
|
||
public string CustomName { get; set; }
|
||
|
||
/// <summary>
|
||
/// 客户地址
|
||
/// </summary>
|
||
[SugarColumn(ColumnName = "custom_address")]
|
||
public string CustomAddress { get; set; }
|
||
|
||
/// <summary>
|
||
/// 备注
|
||
/// </summary>
|
||
public string Remarks { get; set; }
|
||
|
||
/// <summary>
|
||
/// 出库单状态(1-出库中 2-出库完成 3-弃用)
|
||
/// </summary>
|
||
public int Type { get; set; }
|
||
|
||
/// <summary>
|
||
/// 状态(0-停用 1-启用)
|
||
/// </summary>
|
||
public int? Status { get; set; }
|
||
|
||
/// <summary>
|
||
/// 年
|
||
/// </summary>
|
||
public int? Year { get; set; }
|
||
|
||
/// <summary>
|
||
/// 周
|
||
/// </summary>
|
||
public int? Week { get; set; }
|
||
|
||
/// <summary>
|
||
/// 日
|
||
/// </summary>
|
||
public int? Date { get; set; }
|
||
|
||
/// <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; }
|
||
|
||
}
|
||
} |