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_ErpProScrapSheetDetail), "成品报废单明细")]
public class Dt_ErpProScrapSheetDetail : BaseEntity
{
///
/// 主键
///
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")]
public int Id { get; set; }
///
/// 成品报废单主键
///
[SugarColumn(IsNullable = false, ColumnDescription = "成品报废单主键")]
public int ProScrapSheetId { get; set; }
///
/// 产品编码
///
[SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "产品编码")]
public string ScrapProCode { get; set; }
///
/// 报废版本
///
[SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "版本")]
public string ScrapProVersion { get; set; }
///
/// 报废批次号
///
[SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "批次号")]
public string ScrapProLotNo { get; set; }
///
/// 报废SET数量
///
[SugarColumn(IsNullable = false, ColumnDescription = "报废SET数量")]
public int ScrapSETQty { get; set; }
///
/// 报废PCS数
///
[SugarColumn(IsNullable = false, ColumnDescription = "报废PCS数")]
public int ScrapPcsQty { get; set; }
///
/// 已报废SET数量
///
[SugarColumn(IsNullable = false, ColumnDescription = "已下报废SET数量")]
public int OverScrapSETQty { get; set; }
///
/// 已报废PCS数
///
[SugarColumn(IsNullable = false, ColumnDescription = "已下报废PCS数")]
public int OverScrapPcsQty { get; set; }
///
/// XSet数
///
[SugarColumn(IsNullable = true, ColumnDescription = "XSet数")]
public int XSetQty { get; set; }
///
/// XPcs数
///
[SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "XPCS数")]
public int XPcsQty { get; set; }
///
/// 报废明细状态
///
[SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "报废明细状态")]
public int ScrapProDetailStatus { get; set; }
///
/// 备注
///
[SugarColumn(IsNullable = true, ColumnDescription = "备注")]
public string Remark { get; set; }
}
}