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.4 KiB
94 lines
2.4 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_SO_DET : TED_BASE,ITaskTable
|
|
{
|
|
[Description("销售订单")]
|
|
[StringLength(50)]
|
|
public string SalesOrder { get; set; }
|
|
|
|
[Description("行号")]
|
|
public int Line { get; set; }
|
|
|
|
[Description("物料号")]
|
|
[StringLength(50)]
|
|
public string PartCode { get; set; }
|
|
|
|
[Description("已订购量")]
|
|
public decimal QuantityOrdered { get; set; }
|
|
|
|
[Description("单位")]
|
|
[StringLength(50)]
|
|
public string Um { get; set; }
|
|
|
|
[Description("库位")]
|
|
[StringLength(50)]
|
|
public string Location { get; set; }
|
|
|
|
[Description("已分配数量")]
|
|
public decimal QuantityAllocated { get; set; }
|
|
|
|
[Description("已发运数据")]
|
|
public decimal QuantityShipped { get; set; }
|
|
|
|
[Description("要开发票数量")]
|
|
public decimal QuantityToInvoice { get; set; }
|
|
|
|
[Description("类型")]
|
|
[StringLength(50)]
|
|
public string ShipType { get; set; }
|
|
|
|
[Description("价格")]
|
|
[StringLength(50)]
|
|
public string Price { get; set; }
|
|
|
|
[Description("价目表")]
|
|
[StringLength(50)]
|
|
public string PriceList { 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; }
|
|
}
|
|
}
|