dengjunjie
7 天以前 4f39dcc195f28fa275fc2d065fbf1bf6a46c21b7
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
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_AreaRouter))]
    public class Dt_AreaRouter : BaseEntity
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")]
        public int Id { get; set; }
 
        /// <summary>
        /// 起点区域
        /// </summary>
        [ImporterHeader(Name = "起点")]
        [ExporterHeader(DisplayName = "起点")]
        [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "起点")]
        public string StartArea { get; set; }
 
        /// <summary>
        /// 终点区域
        /// </summary>
        [ImporterHeader(Name = "终点")]
        [ExporterHeader(DisplayName = "终点")]
        [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "终点")]
        public string NextArea { get; set; }
 
        [SugarColumn(IsNullable = false, ColumnDescription = "路由类型")]
        public int RouterType { get; set; }
 
        /// <summary>
        /// 是否是最终点
        /// </summary>
        [ImporterHeader(Name = "是否是最终点")]
        [ExporterHeader(DisplayName = "是否是最终点")]
        [SugarColumn(IsNullable = false, ColumnDescription = "是否是最终点")]
        public byte IsEnd { get; set; }
 
        /// <summary>
        /// 备注
        /// </summary>
        [ImporterHeader(Name = "备注")]
        [ExporterHeader(DisplayName = "备注")]
        [SugarColumn(IsNullable = true, ColumnDescription = "备注")]
        public string Remark { get; set; }
    }
}