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.

87 lines
2.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.Code.Entity
{
/// <summary>
/// 船公司信息表
/// </summary>
[SqlSugar.SugarTable("code_carrier", "船公司信息表")]
public class CodeCarrier : BaseModel<long>
{
/// <summary>
/// 英文简称
/// </summary>
[SugarColumn(ColumnDescription = "英文简称", IsNullable = false, Length = 100)]
public string Code { get; set; }
/// <summary>
/// 中文名称
/// </summary>
[SugarColumn(ColumnDescription = "中文名称",IsNullable = false, Length = 100)]
public string CnName { get; set; }
/// <summary>
/// 中文简称
/// </summary>
[SugarColumn(ColumnDescription = "中文简称", IsNullable = false, Length = 100)]
public string CnShortName { get; set; }
/// <summary>
/// 英文名称
/// </summary>
[SugarColumn(ColumnDescription = "英文名称", IsNullable = false, Length = 100)]
public string EnName { get; set; }
/// <summary>
/// 船公司代码别名
/// </summary>
[SugarColumn(ColumnDescription = "船公司代码别名", IsNullable = true, Length = 100)]
public string OtherCode { get; set; }
/// <summary>
/// 国家Id
/// </summary>
[SugarColumn(ColumnDescription = "国家Id", IsNullable = true,DefaultValue ="")]
public long CountryId { get; set; }
/// <summary>
/// 国家名称
/// </summary>
[SugarColumn(ColumnDescription = "国家名称", IsNullable = true, Length = 100)]
public string CountryName { get; set; }
/// <summary>
/// 船公司Logo Base64
/// </summary>
[SugarColumn(ColumnDescription = "船公司Logo", ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)]
public string Logo { get; set; }
/// <summary>
/// 描述
/// </summary>
[SugarColumn(ColumnDescription = "描述", Length = 200, IsNullable = true)]
public string Description { get; set; }
/// <summary>
/// 备注
/// </summary>
[SugarColumn(ColumnDescription = "备注", Length = 200, IsNullable = true)]
public string Remark { get; set; }
/// <summary>
/// EDI代码
/// </summary>
[SugarColumn(ColumnDescription = "EDI代码", Length = 10, IsNullable = false)]
public string EdiCode { get; set; }
/// <summary>
/// 状态 0启用 1禁用
/// </summary>
[SugarColumn(ColumnDescription = "状态", DefaultValue = "0")]
public StatusEnum? Status { get; set; } = StatusEnum.Enable;
}
}