using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
using Magicodes.ExporterAndImporter.Core;
|
using SqlSugar;
|
using WIDESEA_Core.DB.Models;
|
using WIDESEAWCS_Model.Models.TaskInfo;
|
|
namespace WIDESEA_Model.Models.Stock
|
{
|
[SugarTable(nameof(Dt_StockInfoDetail), "库存详细信息")]
|
public class Dt_StockInfoDetail : BaseEntity
|
{
|
/// <summary>
|
/// 主键
|
/// </summary>
|
[ImporterHeader(Name = "主键")]
|
[ExporterHeader(DisplayName = "主键")]
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")]
|
public int Id { get; set; }
|
|
/// <summary>
|
/// 物料编号
|
/// </summary>
|
[ImporterHeader(Name = "物料编号")]
|
[ExporterHeader(DisplayName = "物料编号")]
|
[SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "物料编号")]
|
public string MaterielCode { get; set; }
|
|
/// <summary>
|
/// 物料详细id
|
/// </summary>
|
[ImporterHeader(Name = "物料详细id")]
|
[ExporterHeader(DisplayName = "物料详细id")]
|
[SugarColumn(IsNullable = true, Length = 255, ColumnDescription = "物料详细id")]
|
public string MaterielDetailedid { get; set; }
|
|
/// <summary>
|
/// 条码类型
|
/// </summary>
|
[ImporterHeader(Name = "条码类型")]
|
[ExporterHeader(DisplayName = "条码类型")]
|
[SugarColumn(IsNullable = false, ColumnDescription = "条码类型")]
|
public int BarcodeType { get; set; }
|
|
/// <summary>
|
/// 辅助数量
|
/// </summary>
|
[ImporterHeader(Name = "辅助数量")]
|
[ExporterHeader(DisplayName = "辅助数量")]
|
[SugarColumn(IsNullable = false, ColumnDescription = "辅助数量")]
|
public decimal AuxQty { get; set; }
|
|
/// <summary>
|
/// 数量
|
/// </summary>
|
[ImporterHeader(Name = "数量")]
|
[ExporterHeader(DisplayName = "数量")]
|
[SugarColumn(IsNullable = false, ColumnDescription = "数量")]
|
public decimal Quantity { get; set; }
|
|
/// <summary>
|
/// 最大数量
|
/// </summary>
|
[ImporterHeader(Name = "最大数量")]
|
[ExporterHeader(DisplayName = "最大数量")]
|
[SugarColumn(IsNullable = false, ColumnDescription = "最大数量")]
|
public decimal MaxQty { get; set; }
|
|
/// <summary>
|
/// 重量
|
/// </summary>
|
[ImporterHeader(Name = "重量")]
|
[ExporterHeader(DisplayName = "重量")]
|
[SugarColumn(IsNullable = false, ColumnDescription = "重量")]
|
public decimal BarWeight { get; set; }
|
|
/// <summary>
|
/// 标箱数量
|
/// </summary>
|
[ImporterHeader(Name = "标箱数量")]
|
[ExporterHeader(DisplayName = "标箱数量")]
|
[SugarColumn(IsNullable = false, ColumnDescription = "标箱数量")]
|
public decimal PackageQty { get; set; }
|
|
/// <summary>
|
/// 入库数量
|
/// </summary>
|
[ImporterHeader(Name = "入库数量")]
|
[ExporterHeader(DisplayName = "入库数量")]
|
[SugarColumn(IsNullable = false, ColumnDescription = "入库数量")]
|
public decimal QuantityIn { get; set; }
|
|
/// <summary>
|
/// 出库数量
|
/// </summary>
|
[ImporterHeader(Name = "出库数量")]
|
[ExporterHeader(DisplayName = "出库数量")]
|
[SugarColumn(IsNullable = false, ColumnDescription = "出库数量")]
|
public decimal QuantityOut { get; set; }
|
|
/// <summary>
|
/// 状态
|
/// </summary>
|
[ImporterHeader(Name = "状态")]
|
[ExporterHeader(DisplayName = "状态")]
|
[SugarColumn(IsNullable = false, ColumnDescription = "状态")]
|
public int Status { get; set; }
|
|
/// <summary>
|
/// 物料
|
/// </summary>
|
[ImporterHeader(Name = "物料")]
|
[ExporterHeader(DisplayName = "物料")]
|
[SugarColumn(IsNullable = false, ColumnDescription = "物料")]
|
public int Materialld { get; set; }
|
|
/// <summary>
|
/// 批次
|
/// </summary>
|
[ImporterHeader(Name = "批次")]
|
[ExporterHeader(DisplayName = "批次")]
|
[SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "批次")]
|
public string BatchNum { get; set; }
|
|
/// <summary>
|
/// 创建人员
|
/// </summary>
|
[ImporterHeader(Name = "创建人员")]
|
[ExporterHeader(DisplayName = "创建人员")]
|
[SugarColumn(IsNullable = false, ColumnDescription = "创建人员")]
|
public int CreateEmpld { get; set; }
|
|
/// <summary>
|
/// 任务单
|
/// </summary>
|
[ImporterHeader(Name = "任务单")]
|
[ExporterHeader(DisplayName = "任务单")]
|
[SugarColumn(IsNullable = false, ColumnDescription = "任务单")]
|
public int Taskld { get; set; }
|
|
/// <summary>
|
/// 任务工序
|
/// </summary>
|
[ImporterHeader(Name = "任务工序")]
|
[ExporterHeader(DisplayName = "任务工序")]
|
[SugarColumn(IsNullable = false, ColumnDescription = "任务工序")]
|
public int TaskSubld { get; set; }
|
}
|
}
|