You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

68 lines
2.3 KiB
C#

using DS.Module.Core;
using DS.Module.Core.Data;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DS.WMS.Core.Map.Entity
{
/// <summary>
/// 航线与港口关联信息
/// </summary>
[SqlSugar.SugarTable("relation_lane_port", "航线与港口关联信息")]
public class RelationLaneAndPort : BaseModel<long>
{
/// <summary>
/// 模块(公用时为空字符串)
/// </summary>
[SugarColumn(ColumnDescription = "模块(公用时为空字符串)", Length = 100, IsNullable = true)]
public string? Module { get; set; }
/// <summary>
/// 航线Id
/// </summary>
[SugarColumn(ColumnDescription = "航线Id", IsNullable = true, DefaultValue = "0")]
public long LaneId { get; set; }
/// <summary>
/// 航线代码
/// </summary>
[SugarColumn(ColumnDescription = "航线代码", Length = 100, IsNullable = true)]
public string LaneCode { get; set; }
/// <summary>
/// 船司Id
/// </summary>
[SugarColumn(ColumnDescription = "船司Id", IsNullable = true, DefaultValue = "0")]
public long? CarrierId { get; set; }
/// <summary>
/// 船司名称
/// </summary>
[SugarColumn(ColumnDescription = "船司名称", Length = 100, IsNullable = true)]
public string Carrier { get; set; }
/// <summary>
/// 船司代码
/// </summary>
[SugarColumn(ColumnDescription = "船司代码", Length = 100, IsNullable = true)]
public string CarrierCode { get; set; }
/// <summary>
/// 港口Id
/// </summary>
[SugarColumn(ColumnDescription = "港口Id", IsNullable = true, DefaultValue = "0")]
public long? PortId { get; set; }
/// <summary>
/// 港口代码
/// </summary>
[SugarColumn(ColumnDescription = "港口代码", Length = 100, IsNullable = true)]
public string PortCode { get; set; }
/// <summary>
/// 状态 0启用 1禁用
/// </summary>
[SugarColumn(ColumnDescription = "状态", DefaultValue = "0")]
public StatusEnum? Status { get; set; } = StatusEnum.Enable;
}
}