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