12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- using AIPlatform.Protocol.Entities;
- using System.ComponentModel.DataAnnotations;
- namespace aipmgr.Models
- {
- public class GatherCategoryModel
- {
- [Key]
- [Display(Name = "主键")]
- public long Id { get; set; }
- [Display(Name = "所属组织")]
- [Required(ErrorMessage = "{0}不能为空")]
- public long OrganizationId { get; set; }
- [Display(Name = "所属组织")]
- [Required]
- public string? OrganizationName { get; set; }
- [Display(Name = "名称")]
- [Required(ErrorMessage = "{0}不能为空")]
- public string? Name { get; set; }
- [Display(Name = "采集人员")]
- public List<EntityBase> Gatherers { get; set; }
- [Display(Name = "采集人员")]
- public string? GathererName { get; set; }
- [Display(Name = "创建时间")]
- public DateTime CreateTime { get; set; }
- [Display(Name = "采集人员")]
- [Required(ErrorMessage = "{0}不能为空")]
- public List<string> GatherersValue { get; set; }
- public GatherCategoryModel()
- {
- Gatherers = new List<EntityBase>();
- GatherersValue = new List<string>();
- }
- }
- }
|