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_FormulaDetail), "配方信息详情表")]
|
public class Dt_FormulaDetail : BaseEntity
|
{
|
/// <summary>
|
/// 主键
|
/// </summary>
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")]
|
public int Id { get; set; }
|
/// <summary>
|
/// 组盘信息主键
|
/// </summary>
|
[SugarColumn(IsNullable = false, ColumnDescription = "组盘信息主键")]
|
public int BoxingId { get; set; }
|
|
/// <summary>
|
/// 零件编号
|
/// </summary>
|
[SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "零件编号")]
|
public string ComponentCode { get; set; }
|
|
/// <summary>
|
/// 零件名称
|
/// </summary>
|
[SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "零件名称")]
|
public string ComponentName { get; set; }
|
}
|
}
|