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_OrderOutDetails")]
public class Dt_OrderOutDetails : BaseEntity
{
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")]
public int Id { get; set; }
///
/// 单据编号
///
[SugarColumn(ColumnName = "OrderNo", Length = 255)]
public string OrderNo { get; set; }
///
/// 托盘编码
///
[SugarColumn(ColumnName = "PalletCode", Length = 255)]
public string PalletCode { get; set; }
///
/// 单据类型
///
[SugarColumn(ColumnName = "OrderType", Length = 255)]
public int OrderType { get; set; }
///
/// ERP单据唯一键
///
[SugarColumn(ColumnName = "ERPOrderId", Length = 255)]
public string ERPOrderId { get; set; }
///
/// 物料ID
///
[SugarColumn(ColumnName = "MaterielID", Length = 255)]
public string MaterielID { get; set; }
///
/// 物料编码
///
[SugarColumn(ColumnName = "MaterielCode", Length = 255)]
public string MaterielCode { get; set; }
///
/// 物料名称
///
[SugarColumn(ColumnName = "MaterielName", Length = 255)]
public string MaterielName { get; set; }
///
/// 仓库ID
///
[SugarColumn(IsNullable = false, ColumnDescription = "WareHouseId")]
public string WareHouseId { get; set; }
///
/// 所在仓库
///
[SugarColumn(ColumnName = "Warehouse", Length = 255)]
public string Warehouse { get; set; }
///
/// 调拨仓库
///
[SugarColumn(ColumnName = "AllocateWarehouse",Length =255)]
public string AllocateWarehouse { get; set; }
///
/// 调拨仓库Id
///
[SugarColumn(ColumnName = "AllocateWarehouseId", Length = 255)]
public string AllocateWarehouseId { get; set; }
///
/// 出库数量
///
[SugarColumn(ColumnName = "OutboundQuantity")]
public decimal OutboundQuantity { get; set; }
///
/// 备注
///
[SugarColumn(ColumnName = "Remark", Length = 255)]
public string Remark { get; set; }
}
}