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_SortOrderDetail), "分拣单单据明细")]
public class Dt_SortOrderDetail : BaseEntity
{
///
/// 主键
///
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")]
public int Id { get; set; }
///
/// 分拣单主键ID
///
[SugarColumn(IsNullable = false, ColumnDescription = "分拣单主键ID")]
public int SortId { get; set; }
///
/// 流程卡号
///
[SugarColumn(IsNullable = false, ColumnDescription = "流程卡号")]
public string CardNo { get; set; }
///
/// 产品型号
///
[SugarColumn(IsNullable = false, ColumnDescription = "产品型号")]
public string PrdtId { get; set; }
///
/// 订单号
///
[SugarColumn(IsNullable = false, ColumnDescription = "订单号")]
public string OrderNo { get; set; }
///
/// 合金
///
[SugarColumn(IsNullable = false, ColumnDescription = "合金")]
public int Alloy { get; set; }
///
/// 状态
///
[SugarColumn(IsNullable = false, ColumnDescription = "状态")]
public int State { get; set; }
///
/// 颜色
///
[SugarColumn(IsNullable = false, ColumnDescription = "颜色")]
public string Length { get; set; }
///
/// 支数
///
[SugarColumn(IsNullable = true, ColumnDescription = "支数")]
public int Qty { get; set; }
///
/// 重量
///
[SugarColumn(IsNullable = true, ColumnDescription = "重量")]
public decimal Weight { get; set; }
///
/// 运行状态
///
[SugarColumn(IsNullable = true, ColumnDescription = "运行状态")]
public int RunState { get; set; }
}
}