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 bool IsEnd { get; set; }
|
|
/// <summary>
|
/// 备注
|
/// </summary>
|
[ImporterHeader(Name = "备注")]
|
[ExporterHeader(DisplayName = "备注")]
|
[SugarColumn(IsNullable = true, ColumnDescription = "备注")]
|
public string Remark { get; set; }
|
}
|
}
|