using SqlSugar;
namespace MES.Service.Models;
///
/// 送货通知单据明细表
///
[SugarTable("DELIVERY_NOTICE_DETAIL")]
public class DeliveryNoticeDetail
{
///
/// 主键Guid(SEQ_XKY)
///
[SugarColumn(ColumnName = "id")]
public Guid Id { get; set; }
///
/// 项次号
///
[SugarColumn(ColumnName = "line_no")]
public string LineNo { get; set; }
///
/// ERP采购单号
///
[SugarColumn(ColumnName = "po_erp_no")]
public string PoErpNo { get; set; }
///
/// 采购单类型 1:一般采购;2:委外采购
///
[SugarColumn(ColumnName = "purchase_type")]
public string PurchaseType { get; set; }
///
/// 采购单项次
///
[SugarColumn(ColumnName = "po_line_no")]
public string PoLineNo { get; set; }
///
/// 产品编码
///
[SugarColumn(ColumnName = "product_code")]
public string ProductCode { get; set; }
///
/// 产品名称
///
[SugarColumn(ColumnName = "product_name")]
public string ProductName { get; set; }
///
/// 产品规格
///
[SugarColumn(ColumnName = "product_scale")]
public string ProductScale { get; set; }
///
/// 出货单位编码
///
[SugarColumn(ColumnName = "delivery_unit_code")]
public string DeliveryUnitCode { get; set; }
///
/// 出货单位名称
///
[SugarColumn(ColumnName = "delivery_unit_name")]
public string DeliveryUnitName { get; set; }
///
/// 出货数量
///
[SugarColumn(ColumnName = "delivery_qty")]
public string DeliveryQty { get; set; }
///
/// 出货计价数量
///
[SugarColumn(ColumnName = "delivery_valuation_qty")]
public string DeliveryValuationQty { get; set; }
///
/// 出货产品单价
///
[SugarColumn(ColumnName = "price")]
public string Price { get; set; }
///
/// 出货产品含税单价
///
[SugarColumn(ColumnName = "tax_price")]
public string TaxPrice { get; set; }
///
/// 排程自定义项的值
///
[SugarColumn(ColumnName = "sch_dynamic_value")]
public string SchDynamicValue { get; set; }
///
/// 排程批次号
///
[SugarColumn(ColumnName = "schedule_batch_no")]
public string ScheduleBatchNo { get; set; }
///
/// 排程单号
///
[SugarColumn(ColumnName = "schedule_order_no")]
public string ScheduleOrderNo { get; set; }
///
/// 对应排程ItemDetail的主键列
///
[SugarColumn(ColumnName = "schedule_detail_no")]
public string ScheduleDetailNo { get; set; }
///
/// 是否急料 0:否 ; 1:是
///
[SugarColumn(ColumnName = "urgent_flag")]
public string UrgentFlag { get; set; }
///
/// 原始单据类型 1:订单;2:排程;3:退货;4:备品
///
[SugarColumn(ColumnName = "src_bill_type")]
public string SrcBillType { get; set; }
///
/// 采购项次的采购说明信息
///
[SugarColumn(ColumnName = "purchase_desc")]
public string PurchaseDesc { get; set; }
///
/// 单据备注,srcBillType=1 对应采购订单单身的备注;srcBillType=2 对应排程项次的备注
///
[SugarColumn(ColumnName = "src_order_line_remark")]
public string SrcOrderLineRemark { get; set; }
///
/// 状态(1:待签收;2:签收中;3:已完成)
///
[SugarColumn(ColumnName = "status")]
public string Status { get; set; }
///
/// 收货状态(0-未收货;1-部分收货;2-全部收货)
///
[SugarColumn(ColumnName = "receive_status")]
public string ReceiveStatus { get; set; }
///
/// 整单毛重
///
[SugarColumn(ColumnName = "gross_weight")]
public string GrossWeight { get; set; }
///
/// 整单净重
///
[SugarColumn(ColumnName = "net_weight")]
public string NetWeight { get; set; }
///
/// 重量单位编码
///
[SugarColumn(ColumnName = "unit_weight_code")]
public string UnitWeightCode { get; set; }
///
/// 重量单位名称
///
[SugarColumn(ColumnName = "unit_weight_name")]
public string UnitWeightName { get; set; }
///
/// 包装数
///
[SugarColumn(ColumnName = "packing_qty")]
public string PackingQty { get; set; }
///
/// 品牌名称
///
[SugarColumn(ColumnName = "brand_name")]
public string BrandName { get; set; }
///
/// 其他扩展字段
///
[SugarColumn(ColumnName = "other_extend")]
public string OtherExtend { get; set; }
///
/// 原产国编码
///
[SugarColumn(ColumnName = "original_country_code")]
public string OriginalCountryCode { get; set; }
///
/// 原产国名称
///
[SugarColumn(ColumnName = "original_country_name")]
public string OriginalCountryName { get; set; }
///
/// 备注
///
[SugarColumn(ColumnName = "remark")]
public string Remark { get; set; }
///
/// 扩展字段1
///
[SugarColumn(ColumnName = "extend_n01")]
public string ExtendN01 { get; set; }
///
/// 扩展字段2
///
[SugarColumn(ColumnName = "extend_n02")]
public string ExtendN02 { get; set; }
///
/// 扩展字段3
///
[SugarColumn(ColumnName = "extend_n03")]
public string ExtendN03 { get; set; }
///
/// 扩展字段4
///
[SugarColumn(ColumnName = "extend_n04")]
public string ExtendN04 { get; set; }
///
/// 扩展字段5
///
[SugarColumn(ColumnName = "extend_n05")]
public string ExtendN05 { get; set; }
///
/// 扩展字段6
///
[SugarColumn(ColumnName = "extend_n06")]
public string ExtendN06 { get; set; }
///
/// 库存地点编码
///
[SugarColumn(ColumnName = "store_code")]
public string StoreCode { get; set; }
///
/// 库存地点名称
///
[SugarColumn(ColumnName = "store_name")]
public string StoreName { get; set; }
///
/// 已签收数量
///
[SugarColumn(ColumnName = "verify_qty")]
public string VerifyQty { get; set; }
///
/// 可入库数量
///
[SugarColumn(ColumnName = "allow_qty")]
public string AllowQty { get; set; }
///
/// 让步接收数量
///
[SugarColumn(ColumnName = "compromise_qty")]
public string CompromiseQty { get; set; }
///
/// 拒收数量
///
[SugarColumn(ColumnName = "refused_qty")]
public string RefusedQty { get; set; }
///
/// 退货单ERP编号
///
[SugarColumn(ColumnName = "rto_erp_no")]
public string RtoErpNo { get; set; }
///
/// 退货单项次
///
[SugarColumn(ColumnName = "rto_line_no")]
public string RtoLineNo { get; set; }
///
/// 产品长度
///
[SugarColumn(ColumnName = "prod_length")]
public string ProdLength { get; set; }
///
/// 产品宽度
///
[SugarColumn(ColumnName = "prod_width")]
public string ProdWidth { get; set; }
///
/// 产品高度
///
[SugarColumn(ColumnName = "prod_height")]
public string ProdHeight { get; set; }
///
/// 采购员姓名
///
[SugarColumn(ColumnName = "buyer_name")]
public string BuyerName { get; set; }
///
/// 预计交期
///
[SugarColumn(ColumnName = "expected_date")]
public string ExpectedDate { get; set; }
///
/// 回复交期
///
[SugarColumn(ColumnName = "answer_date")]
public string AnswerDate { get; set; }
///
/// 币种编码
///
[SugarColumn(ColumnName = "currency_code")]
public string CurrencyCode { get; set; }
///
/// 币种名称
///
[SugarColumn(ColumnName = "currency_name")]
public string CurrencyName { get; set; }
///
/// 发送签收状态
///
[SugarColumn(ColumnName = "send_verify_status")]
public string SendVerifyStatus { get; set; }
///
/// 结果标识
///
[SugarColumn(ColumnName = "result_flag")]
public string ResultFlag { get; set; }
///
/// 申请出货数量
///
[SugarColumn(ColumnName = "apply_delivery_qty")]
public string ApplyDeliveryQty { get; set; }
///
/// 申请出货计价数量
///
[SugarColumn(ColumnName = "apply_delivery_valuation_qty")]
public string ApplyDeliveryValuationQty { get; set; }
///
/// 批号
///
[SugarColumn(ColumnName = "batch_number")]
public string BatchNumber { get; set; }
///
/// 已收货数量
///
[SugarColumn(ColumnName = "receive_qty")]
public string ReceiveQty { get; set; }
///
/// 已入库数量
///
[SugarColumn(ColumnName = "storage_qty")]
public string StorageQty { get; set; }
///
/// 退货数量
///
[SugarColumn(ColumnName = "return_qty")]
public string ReturnQty { get; set; }
///
/// 优先检验:0-正常 1-优先 2-紧急
///
[SugarColumn(ColumnName = "first_check")]
public string FirstCheck { get; set; }
///
/// 采购单项次显示用
///
[SugarColumn(ColumnName = "po_line_no_show")]
public string PoLineNoShow { get; set; }
///
/// 多语言备注
///
[SugarColumn(ColumnName = "remarks")]
public string Remarks { get; set; }
///
/// 创建时间
///
[SugarColumn(ColumnName = "create_time")]
public string CreateTime { get; set; }
///
/// 更新时间
///
[SugarColumn(ColumnName = "update_time")]
public string UpdateTime { get; set; }
///
/// 关联主表ID
///
[SugarColumn(ColumnName = "pid")]
public string Pid { get; set; }
///
/// 排程项次号
///
[SugarColumn(ColumnName = "plan_line_no")]
public string PlanLineNo { get; set; }
///
/// 送货单号
///
[SugarColumn(ColumnName = "delivery_no")]
public string DeliveryNo { get; set; }
///
/// 同步时间
///
[SugarColumn(ColumnName = "SYNCHRONOUS_DATE")]
public DateTime? SynchronousDate { get; set; }
}