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.

227 lines
7.0 KiB

1 year ago
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; }
}
}