| 1234567891011121314151617181920212223242526 |
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Linq;
- using System.Text;
- using Core.Mes.Client.Comm.Attribute;
- using Core.StlMes.Client.Mcp.Control.Entity;
- namespace Core.StlMes.Client.Mcp.Treatment.Entity
- {
- public class HttEntrustEntityAll:HttEntrustEntity
- {
- public List<HttEntrustProjectEntity> ProjectData { get; set; }
- [Description("委托项目")]
- [Nullable(true)]
- [DataLength(20)]
- public string Projects
- {
- get
- {
- return (ProjectData != null) && ProjectData.Any() ? ProjectData.Where(p => p.ProjectFlag != "2").Select(p => p.ProjectName).Aggregate((a, b) => a + (a == "" ? "" : ",") + b) : "";
- }
- }
- }
- }
|