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.

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