dengjunjie
3 天以前 b784d019c3848718eb95eb0d34dde34c6a262b06
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
using Magicodes.ExporterAndImporter.Core;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WIDESEAWCS_Core.DB.Models;
using Magicodes.IE.Core;
 
namespace WIDESEAWCS_Model.Models
{
    [SugarTable(nameof(Dt_FormulaDetail), "配方信息详情表")]
    public class Dt_FormulaDetail : BaseEntity
    {
        /// <summary>
        /// 主键
        /// </summary>
        [ImporterHeader(IsIgnore = true)]
        [ExporterHeader(null, 11f, null, true, true, false, 0, KnownColor.Empty, DisplayName = "主键")]
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")]
        public int Id { get; set; }
        /// <summary>
        /// 配方信息主键
        /// </summary>
        [ImporterHeader(Name = "配方信息主键")]
        [ExporterHeader(null, 11f, null, true, true, false, 0, KnownColor.Empty, DisplayName = "配方信息主键")]
        [SugarColumn(IsNullable = false, ColumnDescription = "配方信息主键")]
        public int FormulaId { get; set; }
 
        /// <summary>
        /// 零件编号
        /// </summary>
        [ImporterHeader(Name = "零件编号")]
        [ExporterHeader(null, 11f, null, true, true, false, 0, KnownColor.Empty, DisplayName = "零件编号")]
        [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "零件编号")]
        public string ComponentCode { get; set; }
 
        /// <summary>
        /// 零件名称
        /// </summary>
        [ImporterHeader(Name = "零件名称")]
        [ExporterHeader(null, 11f, null, true, true, false, 0, KnownColor.Empty, DisplayName = "零件名称")]
        [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "零件名称")]
        public string ComponentName { get; set; }
 
        /// <summary>
        /// 供方代码
        /// </summary>
        [ImporterHeader(Name = "供方代码")]
        [ExporterHeader(null, 11f, null, true, true, false, 0, KnownColor.Empty, DisplayName = "供方代码")]
        [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "供方代码")]
        public string SupplierCode { get; set; }
 
        /// <summary>
        /// 是否扫码
        /// </summary>
        [ImporterHeader(Name = "是否扫码")]
        [ExporterHeader(null, 11f, null, true, true, false, 0, KnownColor.Empty, DisplayName = "是否扫码")]
        [SugarColumn(IsNullable = true, DefaultValue = "0", ColumnDescription = "是否扫码")]
        public int IsScanned { get; set; }
 
 
    }
}