using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using WalkingTec.Mvvm.Core;
namespace HHWMS.Web.Models
{
///
/// 出库单主表
///
[Table("shipment_header")]
public class ShipmentHeader2 : BasePoco
{
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public new int ID { get; set; }
///
/// 仓库Id
///
[Column("warehouseId")]
public int? WarehouseId { get; set; }
///
/// 仓库编码
///
[Column("warehouseCode")]
public string WarehouseCode { get; set; }
///
/// 出库单号
///
[Column("code")]
[Display(Name = "Inventory.ShipCode")]
public string Code { get; set; }
///
/// 货主id
///
[Column("companyId")]
public int? CompanyId { get; set; }
///
/// 货主code
///
[Column("companyCode")]
public string CompanyCode { get; set; }
///
/// 上游系统单号
///
[Column("sourceCode")]
[Display(Name = "ReceiptDetail2.SourceCode")]
public string SourceCode { get; set; }
///
/// 上游平台
///
[Column("sourcePlatform")]
public string SourcePlatform { get; set; }
///
/// 出库单类型
///
[Column("type")]
[Display(Name = "ReceiptHeader2.Type")]
public string Type { get; set; }
///
/// 客户编码
///
[Column("shipTo")]
[Display(Name = "ReceiptDetail2.SupplierCode")]
public string ShipTo { get; set; }
///
/// 优先级
///
[Column("priority")]
public int? Priority { get; set; }
///
/// 发货站台
///
[Column("station")]
public string Station { get; set; }
///
/// 总数量
///
[Column("totalQty")]
[Display(Name = "ReceiptHeader2.TotalQty")]
public decimal? TotalQty { get; set; }
///
/// 总行数
///
[Column("totalLines")]
[Display(Name = "ReceiptHeader2.TotalLines")]
public int? TotalLines { get; set; }
///
/// 备注
///
[Column("remark")]
public string Remark { get; set; }
///
/// 上传备注
///
[Column("uploadremark")]
public string Uploadremark { get; set; }
///
/// 上传时间
///
[Column("uploadTime")]
[Display(Name = "ReceiptHeader2.UploadTime")]
public System.DateTime? UploadTime { get; set; }
///
/// 发货预约时间
///
[Column("appointmentTime")]
public System.DateTime? AppointmentTime { get; set; }
///
/// 单据头状态
///
[Column("firstStatus")]
[Display(Name = "ReceiptHeader2.FirstStatus")]
public int? FirstStatus { get; set; }
///
/// 单据尾状态
///
[Column("lastStatus")]
[Display(Name = "ReceiptHeader2.LastStatus")]
public int? LastStatus { get; set; }
///
/// upload状态
///
[Column("uploadStatus")]
[Display(Name = "ReceiptHeader2.UploadStatus")]
public int? UploadStatus { get; set; }
///
///
///
[Column("enable")]
public bool? Enable { get; set; }
///
///
///
[Column("deleted")]
public bool? Deleted { get; set; }
///
/// 自定义字段1---分解状态
///
[Column("userDef1")]
public string UserDef1 { get; set; }
///
/// 自定义字段2---领料仓库
///
[Column("userDef2")]
public string UserDef2 { get; set; }
///
/// 自定义字段3
///
[Column("userDef3")]
public string UserDef3 { get; set; }
///
/// 交易组
///
[Column("userDef4")]
[Display(Name = "ReceiptHeader2.UserDef5")]
public string UserDef4 { get; set; }
}
}