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
{
///
/// 分拣单单据
///
[SugarTable(nameof(Dt_SortOrder), "分拣单单据")]
public class Dt_SortOrder : BaseEntity
{
///
/// 主键
///
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")]
public int Id { get; set; }
///
/// 料框编号
///
[SugarColumn(IsNullable = false, ColumnDescription = "料框编号")]
public string ContainerCode { get; set; }
///
/// 单据编号
///
[SugarColumn(IsNullable = false, ColumnDescription = "单据编号")]
public string Sno { get; set; }
///
/// 优先级
///
[SugarColumn(IsNullable = false, ColumnDescription = "优先级")]
public int Grade { get; set; }
///
/// 仓库ID
///
[SugarColumn(IsNullable = false, ColumnDescription = "仓库")]
public int WarehouseId { get; set; }
///
/// 货位编号
///
[SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "货位编号")]
public string LocationCode { get; set; }
///
/// 分拣区域
///
[SugarColumn(IsNullable = false, ColumnDescription = "分拣区域")]
public string TargetArea { get; set; }
///
/// 分拣点位
///
[SugarColumn(IsNullable = false, ColumnDescription = "分拣点位")]
public string TargetLocation { get; set; }
///
/// 生产线
///
[SugarColumn(IsNullable = true, ColumnDescription = "生产线")]
public string ProduceLine { get; set; }
///
/// 发起人
///
[SugarColumn(IsNullable = true, ColumnDescription = "发起人")]
public string PersonName { get; set; }
///
/// 备注
///
[SugarColumn(IsNullable = true, Length = 200, ColumnDescription = "备注")]
public string Remark { get; set; }
}
}