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.
 
 
 
 
 

56 lines
1.4 KiB

using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using ChangKeTec.Wms.Models.Enums;
namespace ChangKeTec.Wms.Models.Wms
{
public partial class TS_VIN_STOCK
{
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
public long UID { get; set; }
[Key]
[Column(Order = 0)]
[StringLength(50)]
public string PartCode { get; set; }
[Key]
[Column(Order = 1)]
[StringLength(50)]
public string VinCode { get; set; }
[Required(AllowEmptyStrings = true)]
[StringLength(50)]
public string LocCode { get; set; }
[Required(AllowEmptyStrings = true)]
[StringLength(50)]
public string ProjectId { get; set; }
[StringLength(50)]
public string EqptCode { get; set; }
[StringLength(50)]
public string PlanOrderId { get; set; }
[Column(TypeName = "money")]
public decimal Qty { get; set; }
[Column(TypeName = "money")]
public decimal Amount { get; set; }
[Column(TypeName = "date")]
public DateTime ReceiveDate { get; set; }
[Column(TypeName = "date")]
public DateTime SendDate { get; set; }
[Column(TypeName = "date")]
public DateTime BalanceDate { get; set; }
public EnumStockState VinState { get; set; }
}
}