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.
74 lines
1.9 KiB
74 lines
1.9 KiB
using System;
|
|
using System.ComponentModel;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using ChangKeTec.Wms.Models.Enums;
|
|
|
|
|
|
namespace ChangKeTec.Wms.Models.Wms
|
|
{
|
|
public partial class TF_PO
|
|
{
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
|
|
public int UID { get; set; }
|
|
|
|
[NotMapped]
|
|
public string 状态 => ((EnumFormState)State).ToString();
|
|
|
|
[Key]
|
|
[StringLength(50)]
|
|
[DisplayName("单据编号")]
|
|
public string BillNum { get; set; }
|
|
|
|
|
|
public EnumBillType BillType { get; set; }
|
|
|
|
[Required(AllowEmptyStrings = true)]
|
|
[StringLength(50)]
|
|
[DisplayName("供应商编号")]
|
|
public string VendId { get; set; }
|
|
|
|
[NotMapped]
|
|
[DisplayName("供应商名称")]
|
|
public string VendName => WmsCache.GetVenderName(VendId);
|
|
|
|
[Required(AllowEmptyStrings = true)]
|
|
[StringLength(50)]
|
|
[DisplayName("操作员")]
|
|
public string OperName { get; set; }
|
|
|
|
[DisplayName("订单时间")]
|
|
public DateTime BillTime { get; set; }
|
|
|
|
[StringLength(50)]
|
|
[DisplayName("订单类型")]
|
|
public string ModType { get; set; }
|
|
|
|
[StringLength(50)]
|
|
[DisplayName("联系人")]
|
|
public string Contacter { get; set; }
|
|
|
|
[StringLength(50)]
|
|
[DisplayName("收货地点")]
|
|
public string ShipToSite { get; set; }
|
|
|
|
[StringLength(50)]
|
|
|
|
public string Promo { get; set; }
|
|
|
|
[StringLength(50)]
|
|
[DisplayName("采购员")]
|
|
public string Buyer { get; set; }
|
|
|
|
[StringLength(50)]
|
|
[DisplayName("采购员电话")]
|
|
public string BuyerPhone { get; set; }
|
|
|
|
|
|
public int State { get; set; }
|
|
|
|
[StringLength(500)]
|
|
[DisplayName("备注")]
|
|
public string Remark { get; set; }
|
|
}
|
|
}
|
|
|