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.

115 lines
2.3 KiB
C#

using DS.WMS.Core.Op.EDI;
using SqlSugar;
namespace DS.WMS.Core.Info.Dtos;
/// <summary>
/// 客户下拉实体
/// </summary>
public class ClientSelectRes
{
/// <summary>
/// 主键Id
/// </summary>
public long Id { get; set; }
/// <summary>
/// Desc:客户代码
/// </summary>
public string CodeName { get; set; }
/// <summary>
/// Desc:客户简称
/// </summary>
public string ShortName { get; set; }
/// <summary>
/// Desc:英文简称
/// </summary>
public string EnShortName { get; set; }
/// <summary>
/// Desc:提单信息
/// </summary>
public string BLContent { get; set; }
/// <summary>
/// 租户参数
/// </summary>
public List<ClientParamRes> ClientParams { get; set; }
/// <summary>
/// 助记码
/// </summary>
public string PinYinCode { get; set; }
/// <summary>
/// 往来单位默认联系人
/// </summary>
public ClientContactRes ClientContact { get; set; }
/// <summary>
/// 干系人列表
/// </summary>
public List<long> UserIds { get; set; }
/// <summary>
/// 是否冻结
/// </summary>
public bool IsFrozen { get; set; }
}
/// <summary>
/// 往来单位下拉集合
/// </summary>
public class ClientSelectMultiRes
{
/// <summary>
/// 往来单位类型代码
/// </summary>
public string Code { get; set; }
/// <summary>
/// 往来单位列表
/// </summary>
public List<ClientSelectRes> ClientList { get; set; }
/// <summary>
/// 构造函数
/// </summary>
/// <param name="code"></param>
/// <param name="clients"></param>
public ClientSelectMultiRes(string code, List<ClientSelectRes> clients)
{
this.Code = code;
this.ClientList = clients;
}
}
/// <summary>
/// 根据code获取往来单位下拉集合
/// </summary>
public class ClientSelectInfoRes
{
/// <summary>
/// 往来单位类型代码
/// </summary>
public string Code { get; set; }
/// <summary>
/// 往来单位Id
/// </summary>
public long ClientId { get; set; }
/// <summary>
/// 往来单位名称
/// </summary>
public string ClientName { get; set; }
/// <summary>
/// 往来单位列表
/// </summary>
public List<ClientSelectRes> ClientList { get; set; }
}