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.

126 lines
2.9 KiB

4 years ago
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace CK.SCP.Models.ScpEntity
{
public class V_POAllDetail
{
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int UID { get; set; }
[Key]
[Column(Order = 0)]
[StringLength(50)]
public string BillNum { get; set; }
[Key]
[Column(Order = 1)]
[DatabaseGenerated(DatabaseGeneratedOption.None)]
public int LineNum { get; set; }
[Required]
[StringLength(50)]
public string PartCode { get; set; }
[Column(TypeName = "money")]
public decimal BillQty { get; set; }
[Column(TypeName = "money")]
public decimal ShippedQty { get; set; }
[Column(TypeName = "money")]
public decimal ReceivedQty { get; set; }
[StringLength(50)]
public string PoUnit { get; set; }
[StringLength(50)]
public string LocUnit { get; set; }
[Column(TypeName = "money")]
public decimal Price { get; set; }
[StringLength(50)]
public string Currency { get; set; }
[Column(TypeName = "date")]
public DateTime? DueDate { get; set; }
[Column(TypeName = "money")]
public decimal PackQty { get; set; }
public int State { get; set; }
[StringLength(200)]
public string Remark { get; set; }
[Required]
[StringLength(50)]
public string ErpPartCode { get; set; }
[Required]
public string PartDesc1 { get; set; }
[Required]
public string PartDesc2 { get; set; }
[Required]
[StringLength(50)]
public string ProjectId { get; set; }
[Required]
[StringLength(50)]
public string Unit { get; set; }
[Required]
[StringLength(50)]
public string PartGroup { get; set; }
[StringLength(100)]
public string Configuration { get; set; }
public int? ValidityDays { get; set; }
[StringLength(50)]
public string ReceivePort { get; set; }
[StringLength(50)]
public string PalletSize { get; set; }
[Required]
[StringLength(50)]
public string VendId { get; set; }
[Required]
[StringLength(50)]
public string OperName { get; set; }
public DateTime BillTime { get; set; }
[StringLength(50)]
public string ModType { get; set; }
[StringLength(50)]
public string Contacter { get; set; }
[StringLength(50)]
public string ShipToSite { get; set; }
[StringLength(50)]
public string Buyer { get; set; }
[StringLength(50)]
public string BuyerPhone { get; set; }
[StringLength(50)]
public string CurrencyDesc { get; set; }
[StringLength(50)]
public string VendName { get; set; }
}
}