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.
67 lines
1.7 KiB
67 lines
1.7 KiB
1 year ago
|
using System.ComponentModel;
|
||
|
using System.ComponentModel.DataAnnotations;
|
||
|
using System.ComponentModel.DataAnnotations.Schema;
|
||
|
|
||
|
namespace ChangKeTec.Wms.Models.Wms
|
||
|
{
|
||
|
public partial class TB_PRODUCT_SELL
|
||
|
{
|
||
|
public int UID { get; set; }
|
||
|
|
||
|
[Key]
|
||
|
[Column(Order = 0)]
|
||
|
[StringLength(50)]
|
||
|
[DisplayName("���ݱ���")]
|
||
|
public string BillNum { get; set; }
|
||
|
|
||
|
[Required(AllowEmptyStrings = true)]
|
||
|
[StringLength(50)]
|
||
|
[DisplayName("���۶�����")]
|
||
|
public string SoBillNum { get; set; }
|
||
|
|
||
|
[DisplayName("������")]
|
||
|
public int SoLineNum { get; set; }
|
||
|
|
||
|
[Key]
|
||
|
[Column(Order = 1)]
|
||
|
[StringLength(50)]
|
||
|
[DisplayName("����")]
|
||
|
public string BarCode { get; set; }
|
||
|
|
||
|
[Required(AllowEmptyStrings = true)]
|
||
|
[StringLength(50)]
|
||
|
[DisplayName("���Ϻ�")]
|
||
|
public string PartCode { get; set; }
|
||
|
|
||
|
|
||
|
[NotMapped]
|
||
|
[DisplayName("��������")]
|
||
|
public string PartDesc => WmsCache.GetPartDesc(PartCode);
|
||
|
|
||
|
[Required(AllowEmptyStrings = true)]
|
||
|
[StringLength(50)]
|
||
|
[DisplayName("����")]
|
||
|
public string Batch { get; set; }
|
||
|
|
||
|
[Required(AllowEmptyStrings = true)]
|
||
|
[StringLength(50)]
|
||
|
[DisplayName("��Դ��λ")]
|
||
|
public string FromLocCode { get; set; }
|
||
|
|
||
|
[Column(TypeName = "money")]
|
||
|
[DisplayName("����")]
|
||
|
public decimal Qty { get; set; }
|
||
|
|
||
|
[StringLength(50)]
|
||
|
[DisplayName("���߱���")]
|
||
|
public string EqptCode { get; set; }
|
||
|
|
||
|
[DisplayName("״̬")]
|
||
|
public int State { get; set; }
|
||
|
|
||
|
[StringLength(200)]
|
||
|
[DisplayName("��ע")]
|
||
|
public string Remark { get; set; }
|
||
|
}
|
||
|
}
|