using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;
namespace MES.Service.Modes.SalesDeliveryNotice
{
///
/// 销售发货通知明细表
///
[SugarTable("SALES_DELIVERY_NOTICE_DETAIL")]
public class SalesDeliveryNoticeDetail
{
///
/// ID
///
[SugarColumn(ColumnName = "ID", OracleSequenceName = "SEQ_SALES_DELIVERY", IsPrimaryKey = true)]
public decimal Id { get; set; }
///
/// ERP行ID
///
[SugarColumn(ColumnName = "ERPID")]
public decimal? Erpid { get; set; }
///
/// ERP头ID
///
[SugarColumn(ColumnName = "EHID")]
public decimal? Ehid { get; set; }
///
/// 物料编码
///
[SugarColumn(ColumnName = "FMATERIALID")]
public string? Fmaterialid { get; set; }
///
/// 销售单位
///
[SugarColumn(ColumnName = "FUNITID")]
public string? Funitid { get; set; }
///
/// 销售数量
///
[SugarColumn(ColumnName = "FQTY")]
public decimal? Fqty { get; set; }
///
/// 是否赠品(Y/N)
///
[SugarColumn(ColumnName = "FISFREE")]
public string? Fisfree { get; set; }
///
/// 要货日期
///
[SugarColumn(ColumnName = "FDELIVERYDATE")]
public DateTime? Fdeliverydate { get; set; }
///
/// 出货仓库
///
[SugarColumn(ColumnName = "FSTOCKID")]
public string? Fstockid { get; set; }
///
/// 计划跟踪号
///
[SugarColumn(ColumnName = "FMTONO")]
public string? Fmtono { get; set; }
///
/// 批号
///
[SugarColumn(ColumnName = "FLOT")]
public string? Flot { get; set; }
///
/// 源单单号
///
[SugarColumn(ColumnName = "FSRCBILLNO")]
public string? Fsrcbillno { get; set; }
///
/// 计价数量
///
[SugarColumn(ColumnName = "FPRICEUNITQTY")]
public decimal? Fpriceunitqty { get; set; }
///
/// 货主
///
[SugarColumn(ColumnName = "FOWNERIDHEAD")]
public string? Fowneridhead { get; set; }
///
/// 库存单位
///
[SugarColumn(ColumnName = "FSTOCKUNITID")]
public string? Fstockunitid { get; set; }
///
/// 库存数量
///
[SugarColumn(ColumnName = "FSTOCKQTY")]
public decimal? Fstockqty { get; set; }
///
/// 物料类别
///
[SugarColumn(ColumnName = "FMATERIATYPE")]
public string? Fmateriatype { get; set; }
///
/// 超发控制单位
///
[SugarColumn(ColumnName = "FOUTLMTUNIT")]
public string? Foutlmtunit { get; set; }
///
/// 出库上限
///
[SugarColumn(ColumnName = "FOUTMAXQTY")]
public decimal? Foutmaxqty { get; set; }
///
/// 出库下限
///
[SugarColumn(ColumnName = "FOUTMINQTY")]
public decimal? Foutminqty { get; set; }
///
/// 交货地点
///
[SugarColumn(ColumnName = "FDELIVERYLOC")]
public string? Fdeliveryloc { get; set; }
///
/// 交货地址
///
[SugarColumn(ColumnName = "FDELIVERYLADDRESS")]
public string? Fdeliveryladdress { get; set; }
///
/// 终止状态
///
[SugarColumn(ColumnName = "FTERMINATIONSTATUS")]
public string? Fterminationstatus { get; set; }
///
/// 业务终止日期
///
[SugarColumn(ColumnName = "FTERMINATEDATE")]
public DateTime? Fterminatedate { get; set; }
///
/// 累计出库数量
///
[SugarColumn(ColumnName = "FSUMOUTQTY")]
public decimal? Fsumoutqty { get; set; }
///
/// 未出库数量
///
[SugarColumn(ColumnName = "FREMAINOUTQTY")]
public decimal? Fremainoutqty { get; set; }
///
/// 备注
///
[SugarColumn(ColumnName = "FENTRYNOTE")]
public string? Fentrynote { get; set; }
}
}