You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
226 lines
7.0 KiB
226 lines
7.0 KiB
using System.ComponentModel;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using ChangKeTec.Wms.Models.Enums;
|
|
using CK.SCP.Models.Enums;
|
|
|
|
namespace ChangKeTec.Wms.Models.Wms
|
|
{
|
|
|
|
|
|
public partial class TA_PART
|
|
{
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
|
|
public long UID { get; set; }
|
|
|
|
[Key]
|
|
[StringLength(50)]
|
|
[DisplayName("物料号")]
|
|
public string PartCode { get; set; }
|
|
|
|
[Required(AllowEmptyStrings = true)]
|
|
[StringLength(50)]
|
|
[DisplayName("ERP物料号")]
|
|
public string ErpPartCode { get; set; }
|
|
|
|
[Required(AllowEmptyStrings = true)]
|
|
[DisplayName("描述一")]
|
|
public string PartDesc1 { get; set; }
|
|
|
|
[Required(AllowEmptyStrings = true)]
|
|
[DisplayName("描述二")]
|
|
public string PartDesc2 { get; set; }
|
|
|
|
[Required(AllowEmptyStrings = true)]
|
|
[StringLength(50)]
|
|
[DisplayName("项目编号")]
|
|
public string ProjectId { get; set; }
|
|
|
|
[Required(AllowEmptyStrings = true)]
|
|
[StringLength(50)]
|
|
[DisplayName("单位")]
|
|
public string Unit { get; set; }
|
|
|
|
[StringLength(50)]
|
|
[DisplayName("物料类型")]
|
|
public string PartType { get; set; }
|
|
|
|
[Required(AllowEmptyStrings = true)]
|
|
[StringLength(50)]
|
|
[DisplayName("物料种类")]
|
|
public string PartKind { get; set; }
|
|
|
|
[StringLength(50)]
|
|
[DisplayName("物料组")]
|
|
public string PartGroup { get; set; }
|
|
|
|
[Required(AllowEmptyStrings = true)]
|
|
[StringLength(10)]
|
|
[DisplayName("状态")]
|
|
public string State { get; set; }
|
|
|
|
[DisplayName("管理类型")]
|
|
public EnumManageType ManageType { get; set; }
|
|
|
|
[DisplayName("检验类型")]
|
|
public InspectType InspectType { get; set; }
|
|
|
|
|
|
[StringLength(100)]
|
|
[DisplayName("配置信息")]
|
|
public string Configuration { get; set; }
|
|
|
|
[Column(TypeName = "money")]
|
|
[DisplayName("最大库存")]
|
|
public decimal MaxQty { get; set; }
|
|
|
|
[Column(TypeName = "money")]
|
|
[DisplayName("最小库存")]
|
|
public decimal MinQty { get; set; }
|
|
|
|
[Column(TypeName = "money")]
|
|
[DisplayName("安全库存")]
|
|
public decimal SafeQty { get; set; }
|
|
|
|
[Column(TypeName = "money")]
|
|
[DisplayName("器具包装量")]
|
|
public decimal ContainerQty { get; set; }
|
|
|
|
[Column(TypeName = "money")]
|
|
[DisplayName("存储标包数")]
|
|
public decimal StockPackQty { get; set; } = 1;
|
|
|
|
[Column(TypeName = "money")]
|
|
[DisplayName("线边包装数")]
|
|
public decimal LinesidePackQty { get; set; } = 1;
|
|
|
|
[DisplayName("有效期")]
|
|
public int ValidityDays { get; set; } = 365;
|
|
|
|
[StringLength(50)]
|
|
[DisplayName("收货口")]
|
|
public string ReceivePort { get; set; }
|
|
|
|
[StringLength(50)]
|
|
[DisplayName("默认收货库位")]
|
|
public string DefaultReceiveLocCode { get; set; }
|
|
|
|
[DisplayName("配送类型")]
|
|
public EnumDistributionType DistributionType { get; set; }
|
|
|
|
[StringLength(50)]
|
|
[DisplayName("QLevel")]
|
|
public string QLevel { get; set; }
|
|
|
|
[StringLength(50)]
|
|
[DisplayName("工序")]
|
|
public string Process { get; set; }
|
|
|
|
[StringLength(50)]
|
|
[DisplayName("质量报告")]
|
|
public string CertificateOfQuality { get; set; }
|
|
|
|
[DisplayName("是否寄存")]
|
|
public bool IsConsign { get; set; }
|
|
|
|
[DisplayName("是否寄售")]
|
|
public bool IsDeposit { get; set; }
|
|
|
|
[DisplayName("是否进入集配区")]
|
|
public bool IsTransfer { get; set; }
|
|
|
|
[StringLength(50)]
|
|
[DisplayName("库管员")]
|
|
public string StoreKeeper { get; set; }
|
|
|
|
[StringLength(50)]
|
|
[DisplayName("检验员")]
|
|
public string Inspecter { get; set; }
|
|
|
|
[Column(TypeName = "money")]
|
|
[DisplayName("样品率")]
|
|
public decimal SamplePercent { get; set; }
|
|
|
|
[StringLength(50)]
|
|
[DisplayName("标签模板")]
|
|
public string LabelTemplate { get; set; }
|
|
|
|
[StringLength(50)]
|
|
[DisplayName("托盘数量")]
|
|
public string PalletSize { get; set; }
|
|
|
|
[StringLength(50)]
|
|
[DisplayName("关联零件")]
|
|
public string Promo { get; set; }
|
|
|
|
[StringLength(50)]
|
|
[DisplayName("QAD生产线")]
|
|
public string Source { get; set; }
|
|
|
|
[StringLength(500)]
|
|
[DisplayName("备注")]
|
|
public string Remark { get; set; }
|
|
|
|
[StringLength(50)]
|
|
[DisplayName("托盘模板")]
|
|
public string PalletTemplate { get; set; }
|
|
|
|
[Column(TypeName = "money")]
|
|
[DisplayName("单包重量")]
|
|
public decimal SingleWeight { get; set; }
|
|
|
|
[StringLength(50)]
|
|
[DisplayName("图号")]
|
|
public string DrawingNumber { get; set; }
|
|
|
|
[DisplayName("叫料时是否合并")]
|
|
public bool IsAskMerge { get; set; }
|
|
}
|
|
public partial class TA_PART_S
|
|
{
|
|
public long UID { get; set; }
|
|
|
|
[Key]
|
|
public string PartCode { get; set; }
|
|
public string ErpPartCode { get; set; }
|
|
public string PartDesc1 { get; set; }
|
|
public string PartDesc2 { get; set; }
|
|
public string ProjectId { get; set; }
|
|
public string Unit { get; set; }
|
|
public string PartType { get; set; }
|
|
public string PartKind { get; set; }
|
|
public string State { get; set; }
|
|
public EnumManageType ManageType { get; set; }
|
|
public InspectType InspectType { get; set; }
|
|
public string Configuration { get; set; }
|
|
// public decimal MaxQty { get; set; }
|
|
// public decimal MinQty { get; set; }
|
|
// public decimal SafeQty { get; set; }
|
|
// public decimal ContainerQty { get; set; }
|
|
public decimal StockPackQty { get; set; }
|
|
public decimal LinesidePackQty { get; set; }
|
|
// public int ValidityDays { get; set; }
|
|
// public string ReceivePort { get; set; }
|
|
public string DefaultReceiveLocCode { get; set; }
|
|
public EnumDistributionType DistributionType { get; set; }
|
|
// public string QLevel { get; set; }
|
|
// public string Process { get; set; }
|
|
// public string CertificateOfQuality { get; set; }
|
|
// public bool IsConsign { get; set; }
|
|
// public bool IsDeposit { get; set; }
|
|
// public bool IsTransfer { get; set; }
|
|
// public string StoreKeeper { get; set; }
|
|
// public string Inspecter { get; set; }
|
|
// public decimal SamplePercent { get; set; }
|
|
// public string LabelTemplate { get; set; }
|
|
// public string PalletSize { get; set; }
|
|
// public string Promo { get; set; }
|
|
// public string Source { get; set; }
|
|
// public string Remark { get; set; }
|
|
// public string PalletTemplate { get; set; }
|
|
// public decimal SingleWeight { get; set; }
|
|
public string PartGroup { get; set; }
|
|
}
|
|
|
|
|
|
}
|
|
|