29 lines
811 B
29 lines
811 B
1 year ago
|
namespace BBWYB.Server.Model
|
||
|
{
|
||
|
public class BelongSchemeTestModel
|
||
|
{
|
||
|
public long SchemeId { get; set; }
|
||
|
|
||
|
public IList<BelongPurchaserTestModel> BelongPurchaserTestModelList { get; set; }
|
||
|
|
||
|
public string BelongGroupKey
|
||
|
{
|
||
|
get
|
||
|
{
|
||
|
return string.Join(",", BelongPurchaserTestModelList.OrderBy(x => x.BelongTeam)
|
||
|
.Select(x => x.BelongTeam)
|
||
|
.Distinct());
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public class BelongPurchaserTestModel
|
||
|
{
|
||
|
public string PurchaserName { get; set; }
|
||
|
|
||
|
public string BelongTeam { get; set; }
|
||
|
|
||
|
public List<long> RelationSchemeIdList { get; set; }
|
||
|
}
|
||
|
}
|