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.2 KiB

1 year ago
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace CK.SCP.Models.ScpEntity
{
public class V_POAll
{
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int UID { get; set; }
[Key]
[StringLength(50)]
public string BillNum { 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; }
[Column(TypeName = "date")]
public DateTime? DueDate { get; set; }
[StringLength(50)]
public string ShipToSite { get; set; }
[StringLength(50)]
public string Buyer { get; set; }
[StringLength(50)]
public string BuyerPhone { get; set; }
public int State { get; set; }
[StringLength(500)]
public string Remark { get; set; }
[Required]
[StringLength(50)]
public string VendName { get; set; }
[NotMapped]
[StringLength(50)]
public string SumOver { get; set; }
}
}