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