27 lines
832 B
C#
27 lines
832 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace YLErp.Modules.SwapModule.Dto
|
|
{
|
|
public class TrsAccountManageDto:TrsAcountManage
|
|
{
|
|
public List<TrsAccountManageDetail> TrsAccountManageDetails { get; set; }=new List<TrsAccountManageDetail>();
|
|
public string ClientNames {
|
|
get {
|
|
if (this.TrsAccountManageDetails==null|| this.TrsAccountManageDetails.Count==0)
|
|
{
|
|
return "--";
|
|
}
|
|
if (this.TrsAccountManageDetails.Any(s=>s.client_id==null))
|
|
{
|
|
return "--";
|
|
}
|
|
return string.Join(",", this.TrsAccountManageDetails.Select(s=>s.client_name));
|
|
}
|
|
}
|
|
}
|
|
}
|