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.
107 lines
2.8 KiB
107 lines
2.8 KiB
using System;
|
|
using System.ComponentModel;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using CK.SCP.Models.Base;
|
|
using CK.SCP.Models.Enums;
|
|
|
|
namespace CK.SCP.Models.ExchangeCenterTables
|
|
{
|
|
/// <summary>
|
|
/// 采购订单主表
|
|
/// </summary>
|
|
[Description("采购订单主表")]
|
|
public class TED_PO_MSTR : TED_BASE,ITaskTable
|
|
{
|
|
[Description("采购订单号")]
|
|
[StringLength(50)]
|
|
public string PurchaseOrder { get; set; }
|
|
|
|
[Description("订单模式")]
|
|
[StringLength(50)]
|
|
public string ModeType { get; set; }
|
|
|
|
[Description("供应商编号")]
|
|
[StringLength(50)]
|
|
public string Supplier { get; set; }
|
|
|
|
[Description("联系人")]
|
|
[StringLength(50)]
|
|
public string Contact { get; set; }
|
|
|
|
[Description("发往")]
|
|
[StringLength(50)]
|
|
public string ShipTo { get; set; }
|
|
|
|
[Description("订单日期")]
|
|
public DateTime OrderDate { get; set; }
|
|
|
|
[Description("截止日期")]
|
|
public DateTime DueDate { get; set; }
|
|
public DateTime StartDate { get; set; }
|
|
|
|
public DateTime EndDate { get; set; }
|
|
|
|
[Description("国内国外")]
|
|
[StringLength(50)]
|
|
public string MadeIn { get; set; }
|
|
|
|
[Description("需要确认")]
|
|
public bool Confirm { get; set; }
|
|
|
|
[Description("采购员")]
|
|
[StringLength(50)]
|
|
public string Buyer { get; set; }
|
|
|
|
[Description("采购员电话")]
|
|
[StringLength(50)]
|
|
public string BuyerPhone { get; set; }
|
|
|
|
[Description("采购订单状态")]
|
|
public int Status { get; set; }
|
|
|
|
[Description("日程")]
|
|
public bool ScheduledOrder { get; set; }
|
|
|
|
|
|
[Key]
|
|
public Guid GUID { get; set; } = Guid.NewGuid();
|
|
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
public int UID { get; set; }
|
|
|
|
[Description("创建人")]
|
|
[StringLength(50)]
|
|
public string CreateUser { get; set; }
|
|
|
|
[Description("创建时间")]
|
|
public DateTime CreateTime { get; set; }
|
|
|
|
|
|
[Description("备注")]
|
|
public string Remark { get; set; }
|
|
|
|
[Description("任务编号")]
|
|
public Guid TaskID { get; set; }
|
|
|
|
[Description("命令类型")]
|
|
[StringLength(50)]
|
|
public string CommandType { get; set; }
|
|
|
|
public Guid DataID { get; set; }
|
|
|
|
[Description("域")]
|
|
[StringLength(50)]
|
|
public string Domain { get; set; }
|
|
|
|
[Description("地点")]
|
|
[StringLength(50)]
|
|
public string Site { get; set; }
|
|
[Description("价格表")]
|
|
[StringLength(50)]
|
|
public string Pricelist { get; set; }
|
|
[Description("税率")]
|
|
[StringLength(50)]
|
|
public string Taxclass { get; set; }
|
|
}
|
|
}
|