using DS.Module.Core;
using DS.Module.Core.Data;
using SqlSugar;
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 = 30, IsNullable = false)]
public string EdiCode { get; set; }
///
/// 网站地址
///
[SugarColumn(ColumnDescription = "网站地址", IsNullable = true, Length = 200)]
public string WebSite { get; set; }
///
/// 状态 0启用 1禁用
///
[SugarColumn(ColumnDescription = "状态", DefaultValue = "0")]
public StatusEnum? Status { get; set; } = StatusEnum.Enable;
///
/// 是否冻结
///
[SugarColumn(ColumnDescription = "是否冻结")]
public bool IsFrozen { get; set; }
}
}