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.
94 lines
2.1 KiB
94 lines
2.1 KiB
4 years ago
|
using System;
|
||
|
using System.ComponentModel.DataAnnotations;
|
||
|
using System.ComponentModel.DataAnnotations.Schema;
|
||
|
|
||
|
namespace CK.SCP.Models.ScpEntity
|
||
|
{
|
||
|
public class V_BillShip
|
||
|
{
|
||
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||
|
public int UID { get; set; }
|
||
|
|
||
|
[Key]
|
||
|
[StringLength(50)]
|
||
|
public string Bill { get; set; }
|
||
|
|
||
|
public DateTime BillTime { get; set; }
|
||
|
|
||
|
[Required]
|
||
|
[StringLength(50)]
|
||
|
public string PoBillNum { get; set; }
|
||
|
|
||
|
[Required]
|
||
|
[StringLength(50)]
|
||
|
public string VendId { get; set; }
|
||
|
|
||
|
[Required]
|
||
|
[StringLength(50)]
|
||
|
public string OperName { get; set; }
|
||
|
|
||
|
public DateTime ShipTime { get; set; }
|
||
|
|
||
|
public int State { get; set; }
|
||
|
|
||
|
[StringLength(50)]
|
||
|
public string Remark { get; set; }
|
||
|
|
||
|
public DateTime? ReceiveTime { get; set; }
|
||
|
|
||
|
[StringLength(50)]
|
||
|
public string ModType { get; set; }
|
||
|
|
||
|
[Column(TypeName = "date")]
|
||
|
public DateTime? DueDate { 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; }
|
||
|
|
||
|
|
||
|
[Required]
|
||
|
[StringLength(50)]
|
||
|
public string VendName { get; set; }
|
||
|
|
||
|
[Required]
|
||
|
[StringLength(2)]
|
||
|
public string VendAbbCode { get; set; }
|
||
|
|
||
|
[StringLength(50)]
|
||
|
public string VendType { get; set; }
|
||
|
|
||
|
[StringLength(50)]
|
||
|
public string Country { get; set; }
|
||
|
|
||
|
[StringLength(50)]
|
||
|
public string City { get; set; }
|
||
|
|
||
|
[StringLength(50)]
|
||
|
public string Currency { get; set; }
|
||
|
|
||
|
[StringLength(200)]
|
||
|
public string Address { get; set; }
|
||
|
|
||
|
[StringLength(50)]
|
||
|
public string ZipCode { get; set; }
|
||
|
|
||
|
[StringLength(50)]
|
||
|
public string Phone { get; set; }
|
||
|
|
||
|
[StringLength(50)]
|
||
|
public string Fax { get; set; }
|
||
|
|
||
|
[StringLength(50)]
|
||
|
public string Email { get; set; }
|
||
|
}
|
||
|
}
|