using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using SqlSugar;
|
using WIDESEA_Core.DB.Models;
|
namespace WIDESEA_Model.Models
|
{
|
/// <summary>
|
/// 入库明细表
|
///</summary>
|
[SugarTable("Dt_InboundOrderDetail")]
|
public class Dt_InboundOrderDetail: BaseEntity
|
{
|
|
|
/// <summary>
|
/// 备 注:
|
/// 默认值:
|
///</summary>
|
[SugarColumn(ColumnName="OrderDetailId" ,IsPrimaryKey = true) ]
|
public Guid OrderDetailId { get; set; }
|
|
/// <summary>
|
/// 备 注:
|
/// 默认值:
|
///</summary>
|
[SugarColumn(ColumnName="OrderId" ) ]
|
public Guid? OrderId { get; set; }
|
|
/// <summary>
|
/// 备 注:单据编号(关联 inboundOrder表)
|
/// 默认值:
|
///</summary>
|
[SugarColumn(ColumnName="InboundNo" ) ]
|
public string? InboundNo { get; set; }
|
|
/// <summary>
|
/// 备 注:批次号
|
/// 默认值:
|
///</summary>
|
[SugarColumn(ColumnName="BatchNo" ) ]
|
public string? BatchNo { get; set; }
|
|
/// <summary>
|
/// 备 注:单据类型(1,生产入库单 2,生产退料单 3,采购入库单 4,调拨入库单 5,销售退货单 6,空盘入库单 7,其他入库单)
|
/// 默认值:
|
///</summary>
|
[SugarColumn(ColumnName="InboundType" ) ]
|
public string? InboundType { get; set; }
|
|
/// <summary>
|
/// 备 注:单据明细状态(0,未开始 1,入库中 2,已入库 )
|
/// 默认值:
|
///</summary>
|
[SugarColumn(ColumnName="InboundState" ) ]
|
public string? InboundState { get; set; }
|
|
/// <summary>
|
/// 备 注:物料编号
|
/// 默认值:
|
///</summary>
|
[SugarColumn(ColumnName="MaterialNo" ) ]
|
public string? MaterialNo { get; set; }
|
|
/// <summary>
|
/// 备 注:物料名称
|
/// 默认值:
|
///</summary>
|
[SugarColumn(ColumnName="MaterialName" ) ]
|
public string? MaterialName { get; set; }
|
|
/// <summary>
|
/// 备 注:预计入库数量
|
/// 默认值:
|
///</summary>
|
[SugarColumn(ColumnName="PreInboundQuantity" ) ]
|
public string? PreInboundQuantity { get; set; }
|
|
/// <summary>
|
/// 备 注:实际入库数量
|
/// 默认值:
|
///</summary>
|
[SugarColumn(ColumnName="ActualInboundQuantity" ) ]
|
public string? ActualInboundQuantity { get; set; }
|
|
/// <summary>
|
/// 备 注:入库单位
|
/// 默认值:
|
///</summary>
|
[SugarColumn(ColumnName="Unit" ) ]
|
public string? Unit { get; set; }
|
|
/// <summary>
|
/// 备 注:备注
|
/// 默认值:
|
///</summary>
|
[SugarColumn(ColumnName="Remark" ) ]
|
public string? Remark { get; set; }
|
|
|
|
|
}
|
|
}
|