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
{
///
/// 航线与港口关联信息
///
[SqlSugar.SugarTable("relation_lane_port", "航线与港口关联信息")]
public class RelationLaneAndPort : BaseModel
{
///
/// 模块(公用时为空字符串)
///
[SugarColumn(ColumnDescription = "模块(公用时为空字符串)", Length = 100, IsNullable = true)]
public string? Module { get; set; }
///
/// 航线Id
///
[SugarColumn(ColumnDescription = "航线Id", IsNullable = true, DefaultValue = "0")]
public long LaneId { get; set; }
///
/// 航线代码
///
[SugarColumn(ColumnDescription = "航线代码", Length = 100, IsNullable = true)]
public string LaneCode { get; set; }
///
/// 船司Id
///
[SugarColumn(ColumnDescription = "船司Id", IsNullable = true, DefaultValue = "0")]
public long? CarrierId { get; set; }
///
/// 船司代码
///
[SugarColumn(ColumnDescription = "船司代码", Length = 100, IsNullable = true)]
public string CarrierCode { get; set; }
///
/// 港口Id
///
[SugarColumn(ColumnDescription = "港口Id", IsNullable = true, DefaultValue = "0")]
public long? PortId { get; set; }
///
/// 港口代码
///
[SugarColumn(ColumnDescription = "港口代码", Length = 100, IsNullable = true)]
public string PortCode { get; set; }
///
/// 状态 0启用 1禁用
///
[SugarColumn(ColumnDescription = "状态", DefaultValue = "0")]
public StatusEnum? Status { get; set; } = StatusEnum.Enable;
}
}