You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
811 B
28 lines
811 B
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; }
|
|
}
|
|
}
|
|
|