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.
 
 
 
 
 

97 lines
2.3 KiB

using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace CK.SCP.Models.ScpEntity
{
public class V_BillInvoice
{
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int UID { get; set; }
[Key]
[StringLength(50)]
public string BillNum { get; set; }
public DateTime BillTime { get; set; }
[StringLength(50)]
public string InvoiceNum { get; set; }
[StringLength(50)]
public string ExpressNum { get; set; }
[Required]
[StringLength(50)]
public string VendId { get; set; }
// [Required]
// [StringLength(50)]
// public string OperName { get; set; }
public int State { get; set; }
[StringLength(50)]
public string Remark { get; set; }
//
// [StringLength(50)]
// public string PoBillNum { get; set; }
//
//
// [Column(Order = 2)]
// [DatabaseGenerated(DatabaseGeneratedOption.None)]
// public int PoLineNum { get; set; }
//
// [Column(Order = 3)]
// [StringLength(50)]
// public string AsnBillNum { get; set; }
// [Column(Order = 4)]
// [StringLength(50)]
// public string PartCode { get; set; }
// [Column(Order = 5)]
// [StringLength(50)]
// public string Batch { get; set; }
// [Column(TypeName = "date")]
// public DateTime ProduceDate { get; set; }
// [StringLength(50)]
// public string VendBatch { get; set; }
// [Column(TypeName = "money")]
// public decimal Qty { 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 = "money")]
// public decimal PackQty { get; set; }
[Required]
[StringLength(50)]
public string VendName { get; set; }
[NotMapped]
[Column(TypeName = "Decmail")]
public string Amount { get; set; }
[NotMapped]
[Column(TypeName = "money")]
public string Total { get; set; }
}
}