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.

83 lines
2.5 KiB
C#

using DS.Module.Core;
using DS.Module.Core.Data;
using SqlSugar;
namespace DS.WMS.Core.Info.Entity;
/// <summary>
/// 往来单位-收发货人信息
/// </summary>
[SqlSugar.SugarTable("info_client_shipper", "往来单位-收发货人信息")]
public class InfoClientShipper : BaseOrgModel<long>
{
/// <summary>
/// 往来单位id
/// </summary>
public long ClientId { get; set; }
/// <summary>
/// Desc:收发货人代码
/// </summary>
[SugarColumn(ColumnDescription = "收发货人代码", Length = 20)]
public string CodeName { get; set; }
/// <summary>
/// Desc:收发货人简称
/// </summary>
[SugarColumn(ColumnDescription = "收发货人简称", Length = 20)]
public string ShortName { get; set; }
/// <summary>
/// Desc:类型 下拉选择(Shipper-1,Consinee-2,Notifypaty-3,Agent-4)
/// </summary>
[SugarColumn(ColumnDescription = "类型 下拉选择(Shipper-1,Consinee-2,Notifypaty-3,Agent-4)")]
public int ShipperType { get; set; }
/// <summary>
/// 是否公共标识
/// </summary>
[SugarColumn(ColumnDescription = "是否公共标识", DefaultValue = "0")]
public bool IsPublic { get; set; } = false;
/// <summary>
/// Desc:详细信息
/// </summary>
[SugarColumn(ColumnDescription = "详细信息", Length = 600, IsNullable = true)]
public string ShortDetail { get; set; }
/// <summary>
/// Desc:联系人
/// </summary>
[SugarColumn(ColumnDescription = "联系人", Length = 25, IsNullable = true)]
public string ATTN { get; set; }
/// <summary>
/// Desc:邮箱
/// </summary>
[SugarColumn(ColumnDescription = "邮箱", Length = 50, IsNullable = true)]
public string Email { get; set; }
/// <summary>
/// Desc:电话
/// </summary>
[SugarColumn(ColumnDescription = "电话", Length = 50, IsNullable = true)]
public string Tel { get; set; }
// /// <summary>
// /// 国家Id
// /// </summary>
// [SugarColumn(ColumnDescription = "国家Id")]
// public long CountryId { get; set; } = 0;
/// <summary>
/// Desc:公司代码
/// </summary>
[SugarColumn(ColumnDescription = "公司代码", Length = 50, IsNullable = true)]
public string CompanyNo { get; set; }
/// <summary>
/// 状态 0启用 1禁用
/// </summary>
[SugarColumn(ColumnDescription = "状态",DefaultValue = "0")]
public StatusEnum? Status { get; set; } = StatusEnum.Enable;
}