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("map_yard", "场站映射信息")]
public class MappingYard : BaseModel
{
///
/// 关联业务id
///
public long LinkId { get; set; }
///
/// 代码
///
[SugarColumn(ColumnDescription = "代码", Length = 100, IsNullable = false)]
public string Code { get; set; }
///
/// 模块
///
[SugarColumn(ColumnDescription = "模块", Length = 100, IsNullable = false)]
public string Module { get; set; }
///
/// 映射代码
///
[SugarColumn(ColumnDescription = "映射代码", Length = 100, IsNullable = false)]
public string MapCode { get; set; }
///
/// 映射名称
///
[SugarColumn(ColumnDescription = "映射名称", Length = 100, IsNullable = true)]
public string MapName { get; set; }
///
/// 船司Id
///
[SugarColumn(ColumnDescription = "船司Id", IsNullable = true,DefaultValue ="0")]
public long? CarrierId { get; set; }
///
/// 船司名称
///
[SugarColumn(ColumnDescription = "船司名称", Length = 100, IsNullable = true)]
public string Carrier { get; set; }
///
/// 状态 0启用 1禁用
///
[SugarColumn(ColumnDescription = "状态", DefaultValue = "0")]
public StatusEnum? Status { get; set; } = StatusEnum.Enable;
}
}