using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WIDESEAWCS_Core.DB.Models;
namespace WIDESEAWCS_Model.Models
{
[SugarTable(nameof(Dt_Boxing), "组盘信息表")]
public class Dt_Boxing : BaseEntity
{
///
/// 主键
///
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")]
public int Id { get; set; }
///
/// 工装板编号
///
[SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "工装板编号")]
public string PalletCode { get; set; }
///
/// 成品编号
///
[SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "成品编号")]
public string ProductCode { get; set; }
///
/// 成品名称
///
[SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "成品名称")]
public string ProductName { get; set; }
[SugarColumn(IsIgnore = true)]//不参与数据库映射,测试使用
[Navigate(NavigateType.OneToMany, nameof(Dt_BoxingDetail.BoxingId), nameof(Id))]
public List Details { get; set; }
}
}