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.
 
 
 
 
 

125 lines
3.1 KiB

using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.SqlTypes;
using CK.SCP.Models.Base;
using CK.SCP.Models.Enums;
namespace CK.SCP.Models.ExchangeCenterTables
{
/// <summary>
/// 发货单明细表
/// </summary>
[Description("发货单明细表")]
public class TED_ASN_DET : TED_BASE,ITaskTable
{
[Description("发货单号")]
[StringLength(50)]
public string ASN { get; set; }
[Description("采购订单号")]
[StringLength(50)]
public string PurchaseOrder { get; set; }
[Description("采购订单行")]
public int Line { get; set; }
[Description("零件号")]
[StringLength(50)]
public string PartCode { get; set; }
[Description("批次")]
[StringLength(50)]
public string Lot { get; set; }
[Description("数量")]
public decimal Qty { get; set; }
[Description("标包数量")]
public decimal PackQty { get; set; }
[Description("库位")]
[StringLength(50)]
public string Location { get; set; }
[Description("参考")]
[StringLength(50)]
public string Reference { get; set; }
[Description("供应商批次")]
[StringLength(50)]
public string SupplierLot { get; set; }
[Description("器具类型")]
[StringLength(50)]
public string WareClass { get; set; }
[Description("器具编号")]
[StringLength(50)]
public string WareId { get; set; }
[Description("采购价格")]
public decimal Price { get; set; }
[Description("采购单位")]
[StringLength(50)]
public string PoUm { get; set; }
[Description("存储单位")]
[StringLength(50)]
public string LocUm { get; set; }
[Description("单位转换率")]
public decimal Conv { get; set; }
[Description("零件类型")]
[StringLength(50)]
public string PartType { get; set; }
[Description("供应商批次")]
[StringLength(50)]
public string VendBatch { get; set; }
[Description("生产日期")]
public DateTime ProduceDate { get; set; }
[Description("截止日期")]
public DateTime DueDate { 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; }
}
}