using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WIDESEA_Core.DB.Models;
namespace WIDESEA_Model.Models.Order
{
///
/// 调拨出库单据明细表
///
[SugarTable("Dt_AllocateOutboundOrderDetail")]
public class Dt_AllocateOutboundOrderDetail : BaseEntity
{
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")]
public int Id { get; set; }
///
/// 出库单据主键ID
///
[SugarColumn(ColumnName = "OrderId", Length = 255)]
public int OrderId { get; set; }
///
/// ERP单据唯一键
///
[SugarColumn(ColumnName = "ERPOrderId", Length = 255)]
public string ERPOrderId { get; set; }
///
/// 物料编码
///
[SugarColumn(ColumnName = "MaterielCode", Length = 255)]
public string MaterielCode { get; set; }
///
/// 物料名称
///
[SugarColumn(ColumnName = "MaterielName", Length = 255)]
public string MaterielName { get; set; }
///
/// 规格
///
[SugarColumn(ColumnName = "Specs", Length = 255)]
public string Specs { get; set; }
///
/// 单重
///
[SugarColumn(ColumnName = "Weight")]
public decimal Weight { get; set; }
///
/// 出库数量
///
[SugarColumn(ColumnName = "OrderQuantity")]
public decimal OrderQuantity { get; set; }
///
/// 未出库数量
///
[SugarColumn(ColumnName = "NotOutQuantity")]
public decimal NotOutQuantity { get; set; }
///
/// 已出库数量
///
[SugarColumn(ColumnName = "OverOutQuantity")]
public decimal OverOutQuantity { get; set; }
[SugarColumn(ColumnName = "WareHouseId")]
public string WareHouseId { get; set; }
///
/// 单据明细状态
///
[SugarColumn(ColumnName = "OrderDetailStatus")]
public int OrderDetailStatus { get; set; }
///
/// 备注
///
[SugarColumn(ColumnName = "Remark", Length = 255)]
public string Remark { get; set; }
}
}