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 WIDESEA_Model.Models.Stock;
|
|
namespace WIDESEA_Model.View
|
{
|
[SugarTable(nameof(Dt_StockInfos), "库存信息")]
|
public class Dt_StockInfos : 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 PalletCode { get; set; }
|
|
/// <summary>
|
/// 货位编号
|
/// </summary>
|
[ImporterHeader(Name = "货位编号")]
|
[ExporterHeader(DisplayName = "货位编号")]
|
[SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "货位编号")]
|
public string LocationCode { get; set; }
|
|
/// <summary>
|
/// 库存状态
|
/// </summary>
|
[ImporterHeader(Name = "库存状态")]
|
[ExporterHeader(DisplayName = "库存状态")]
|
[SugarColumn(IsNullable = true, ColumnDescription = "库存状态")]
|
public int StockStatus { get; set; }
|
|
/// <summary>
|
/// 物料类型
|
/// </summary>
|
[ImporterHeader(Name = "物料类型")]
|
[ExporterHeader(DisplayName = "物料类型")]
|
[SugarColumn(IsNullable = true, ColumnDescription = "物料类型")]
|
public int StockType { get; set; }
|
|
/// <summary>
|
/// 物料编号1
|
/// </summary>
|
[ImporterHeader(Name = "物料编号1")]
|
[ExporterHeader(DisplayName = "物料编号1")]
|
[SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "物料编号1")]
|
public string MaterielCode1 { get; set; }
|
|
/// <summary>
|
/// 物料编号2
|
/// </summary>
|
[ImporterHeader(Name = "物料编号2")]
|
[ExporterHeader(DisplayName = "物料编号2")]
|
[SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "物料编号2")]
|
public string MaterielCode2 { get; set; }
|
|
/// <summary>
|
/// 物料编号3
|
/// </summary>
|
[ImporterHeader(Name = "物料编号3")]
|
[ExporterHeader(DisplayName = "物料编号3")]
|
[SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "物料编号3")]
|
public string MaterielCode3 { get; set; }
|
|
/// <summary>
|
/// 物料编号4
|
/// </summary>
|
[ImporterHeader(Name = "物料编号4")]
|
[ExporterHeader(DisplayName = "物料编号4")]
|
[SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "物料编号4")]
|
public string MaterielCode4 { get; set; }
|
|
/// <summary>
|
/// 物料名称
|
/// </summary>
|
[ImporterHeader(Name = "物料名称")]
|
[ExporterHeader(DisplayName = "物料名称")]
|
[SugarColumn(IsNullable = true, Length = 200, ColumnDescription = "物料名称")]
|
public string MaterielName { get; set; }
|
|
/// <summary>
|
/// 备注
|
/// </summary>
|
[ImporterHeader(Name = "备注")]
|
[ExporterHeader(DisplayName = "备注")]
|
[SugarColumn(IsNullable = true, Length = 255, ColumnDescription = "备注")]
|
public string Remark { get; set; }
|
|
/// <summary>
|
/// 物料详细id
|
/// </summary>
|
[ImporterHeader(Name = "物料详细id")]
|
[ExporterHeader(DisplayName = "物料详细id")]
|
[SugarColumn(IsNullable = true, Length = 255, ColumnDescription = "物料详细id")]
|
public string MaterielDetailedid { get; set; }
|
}
|
}
|