1
dengjunjie
2025-12-24 4a2c58e923a14413e5ec66943ec97f2ededd9a36
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")]
        public int Id { get; set; }
 
        /// <summary>
        /// 工装板编号
        /// </summary>
        [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "工装板编号")]
        public string PalletCode { get; set; }
 
        /// <summary>
        /// 成品编号
        /// </summary>
        [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "成品编号")]
        public string ProductCode { get; set; }
 
        /// <summary>
        /// 成品名称
        /// </summary>
        [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "成品名称")]
        public string ProductName { get; set; }
 
        [Navigate(NavigateType.OneToMany, nameof(Dt_BoxingDetail.BoxingId), nameof(Id))]
        public List<Dt_BoxingDetail> Details { get; set; }
    }
}