using DS.Module.Core.Extensions; using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.Text; using System.Threading.Tasks; namespace DS.WMS.Core.Info.Dtos { /// /// 委托单位下拉返回信息 /// public class ControllerClientRes { /// /// 主键Id /// public long Id { get; set; } /// /// Desc:客户代码 /// public string CodeName { get; set; } /// /// Desc:客户简称 /// public string ShortName { get; set; } /// /// Desc:英文简称 /// public string EnShortName { get; set; } /// /// Desc:提单信息 /// public string BLContent { get; set; } /// /// 助记码 /// public string PinYinCode { get; set; } /// /// Desc:业务来源Id /// public long SourceId { get; set; } /// /// Desc:业务来源明细Id /// public long SourceDetailId { get; set; } /// /// Desc:业务来源名称 /// public string SourceName { get; set; } /// /// Desc:业务来源明细名称 /// public string SourceDetailName { get; set; } /// /// 揽货人Id /// public long? SaleId { get; set; } /// /// 揽货人 /// public string Sale { get; set; } /// /// Desc:单证 /// public long? Doc { get; set; } /// /// Desc:单证人员 /// public string DocName { get; set; } /// /// 操作员 /// public long? OperatorId { get; set; } /// /// 操作员名称 /// public string OperatorName { get; set; } /// /// 客服 /// public long? CustomerService { get; set; } /// /// 客服名称 /// public string CustomerServiceName { get; set; } /// /// 所属分部值 /// [IgnoreDataMember] public string? SaleOrgId { get; set; } /// /// 所属机构名称 /// public string SaleOrgName { get; set; } /// /// 所属分部 /// public long[] SaleOrgIdList => SaleOrgId.IsNullOrEmpty() ? [] : SaleOrgId.Split(',', StringSplitOptions.RemoveEmptyEntries).Select(long.Parse).ToArray(); /// /// 所属集团ID /// public long? PcorpId { get; set; } /// /// Desc: 所属集团 /// public string PcorpName { get; set; } /// /// 往来单位默认联系人 /// public ClientContactRes ClientContact { get; set; } /// /// 服务项目 /// public string? ServiceItem { get; set; } } }