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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
using Magicodes.ExporterAndImporter.Core;
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_PassPointRecord), "MES过点记录")]
    public class Dt_PassPointRecord : BaseEntity
    {
        /// <summary>
        /// 主键
        /// </summary>
        [ImporterHeader(Name = "主键")]
        [ExporterHeader(DisplayName = "主键")]
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")]
        public int Id { get; set; }
 
        /// <summary>
        /// PVI码
        /// </summary>
        [ImporterHeader(Name = "PVI码")]
        [ExporterHeader(DisplayName = "PVI码")]
        [SugarColumn(IsNullable = true, ColumnDescription = "PVI码")]
        public string PVI { get; set; }
 
        /// <summary>
        /// 滑橇号
        /// </summary>
        [ImporterHeader(Name = "滑橇号")]
        [ExporterHeader(DisplayName = "滑橇号")]
        [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "滑橇号")]
        public string PalletCode { get; set; }
 
        [ImporterHeader(Name = "点位")]
        [ExporterHeader(DisplayName = "点位")]
        [SugarColumn(IsNullable = false, ColumnDescription = "点位")]
        public string Position { get; set; }
 
        [ImporterHeader(Name = "线号")]
        [ExporterHeader(DisplayName = "线号")]
        [SugarColumn(IsNullable = false, ColumnDescription = "线号")]
        public string lineCode { get; set; }
 
        [ImporterHeader(Name = "线号")]
        [ExporterHeader(DisplayName = "线号")]
        [SugarColumn(IsNullable = false, ColumnDescription = "线号")]
        public string Content { get; set; }
 
        [ImporterHeader(Name = "过点时间")]
        [ExporterHeader(DisplayName = "过点时间")]
        [SugarColumn(IsNullable = false, ColumnDescription = "过点时间")]
        public DateTime PassPointTime { get; set; }
 
        
        [SugarColumn(IsNullable = true, ColumnDescription = "备注")]
        public string Remark { get; set; }
 
        [SugarColumn(IsNullable = true, ColumnDescription = "备用")]
        public string Spare1 { get; set; }
 
        [SugarColumn(IsNullable = true, ColumnDescription = "备用")]
        public string Spare2 { get; set; }
 
        [SugarColumn(IsNullable = true, ColumnDescription = "备用")]
        public string Spare3 { get; set; }
    }
}