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.

100 lines
3.0 KiB
C#

using DS.Module.Core;
using DS.Module.Core.Data;
using SqlSugar;
namespace DS.WMS.Core.Info.Entity;
/// <summary>
/// 往来单位-收发货人信息
/// </summary>
[SugarTable("info_client_shipper", "往来单位-收发货人信息")]
public class InfoClientShipper : BaseModelV2<long>
{
/// <summary>
/// 往来单位id
/// </summary>
public long ClientId { get; set; }
/// <summary>
/// Desc:收发货人代码
/// </summary>
[SugarColumn(ColumnDescription = "收发货人代码", Length = 20)]
public string CodeName { get; set; }
/// <summary>
/// 收发货人名称
/// </summary>
[SugarColumn(ColumnDescription = "收发货人名称", Length = 100, IsNullable = false)]
public string Name { get; set; } = string.Empty;
/// <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>
9 months ago
[SugarColumn(ColumnDescription = "详细信息", Length = 600, IsNullable = true)]
public string ShortDetail { get; set; }
/// <summary>
/// Desc:联系人
/// </summary>
9 months ago
[SugarColumn(ColumnDescription = "联系人", Length = 25, IsNullable = true)]
public string ATTN { get; set; }
/// <summary>
/// Desc:邮箱
/// </summary>
9 months ago
[SugarColumn(ColumnDescription = "邮箱", Length = 50, IsNullable = true)]
public string Email { get; set; }
/// <summary>
/// Desc:电话
/// </summary>
9 months ago
[SugarColumn(ColumnDescription = "电话", Length = 50, IsNullable = true)]
public string Tel { get; set; }
/// <summary>
/// 地址
/// </summary>
[SugarColumn(ColumnDescription = "地址", Length = 500, IsNullable = true)]
public string? Address { get; set; }
// /// <summary>
// /// 国家Id
// /// </summary>
// [SugarColumn(ColumnDescription = "国家Id")]
// public long CountryId { get; set; } = 0;
/// <summary>
/// Desc:公司代码
/// </summary>
9 months ago
[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;
/// <summary>
/// 机构Id
/// </summary>
[SugarColumn(ColumnDescription = "机构Id")]
public long OrgId { get; set; }
}