using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace WIDESEA_DTO
{
[SugarTable(nameof(dt_needBarcode), "在途数据")]
public class dt_needBarcode
{
[Key]
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")]
public int id { get; set; }
///
/// 目标库区
///
[SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "目标库区")]
public string toArea { get; set; }
///
/// 来源库区
///
[SugarColumn(IsNullable = false, Length = 10, ColumnDescription = "来源库区")]
public string fromArea { get; set; }
///
/// 托盘类型
///
[SugarColumn(IsNullable = false, Length = 10, ColumnDescription = "托盘类型")]
public string barcodeType { get; set; }
///
/// 产线
///
[SugarColumn(IsNullable = false, Length = 10, ColumnDescription = "所属产线")]
public string productLine { get; set; }
///
/// 在途数量
///
[SugarColumn(IsNullable = false, Length = 10, ColumnDescription = "在途数量")]
public int inLineNum { get; set; }
///
/// 目标缓存数量
///
[SugarColumn(IsNullable = false, Length = 10, ColumnDescription = "可缓存数量")]
public int cacheNum { get; set; } = 0;
///
/// 已创建出库任务数量
///
//[NotMapped]
//public int haveOutNum { get; set; } = 0;
}
}