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.

42 lines
1.1 KiB

4 years ago
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace ChangKeTec.Wms.Models.Wms
{
public partial class TS_STOCK_FREEZE
{
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int UID { get; set; }
[Required(AllowEmptyStrings = true)]
[StringLength(50)]
[DisplayName("���ݱ���")]
public string BillNum { 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 LocCode { get; set; }
[Required(AllowEmptyStrings = true)]
[StringLength(50)]
[DisplayName("����")]
public string Batch { get; set; }
[Column(TypeName = "money")]
[DisplayName("����")]
public decimal Qty { get; set; }
}
}