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.

72 lines
1.7 KiB

4 years ago
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using ChangKeTec.Wms.Models.Enums;
namespace ChangKeTec.Wms.Models.Wms
{
public partial class VS_STOCK
{
[Key]
[Column(Order = 0)]
[StringLength(50)]
public string PartCode { get; set; }
[Key]
[Column(Order = 1)]
[StringLength(50)]
public string Batch { get; set; }
[Key]
[Column(Order = 2)]
[StringLength(50)]
public string LocCode { get; set; }
[Key]
[Column(Order = 3)]
[DatabaseGenerated(DatabaseGeneratedOption.None)]
public EnumStockState State { get; set; }
[Key]
[Column(TypeName = "money" ,Order=4)]
public decimal? Qty { get; set; }
public string PartDesc1 { get; set; }
public string PartDesc2 { get; set; }
[StringLength(50)]
public string ProjectId { get; set; }
[StringLength(50)]
public string Unit { get; set; }
[StringLength(50)]
public string PartType { get; set; }
[StringLength(50)]
public string PartKind { get; set; }
[Key]
[StringLength(50)]
[Column(Order = 5)]
public string VendId { get; set; }
[Column(TypeName = "money")]
public decimal? MaxQty { get; set; }
[Column(TypeName = "money")]
public decimal? MinQty { get; set; }
[Column(TypeName = "money")]
public decimal? SafeQty { get; set; }
[StringLength(50)]
public string ErpLocCode { get; set; }
[StringLength(50)]
public string AreaCode { get; set; }
}
}