using System; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; namespace EMIS.ViewModel.EducationManage { public class TrainingClassMergeView { [DisplayName("合班名称")] [Required] public string Name { get; set; } public string TrainingClassIDs { get; set; } public List TrainingClassIDList { get { return TrainingClassIDs.Split(',').Where(x => !string.IsNullOrEmpty(x)).Select(x => new Guid(x)).ToList(); } } } }