平安校园
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.

SetGroupInput.cs 544 B

4 months ago
12345678910111213141516171819
  1. using MoYu.DataValidation;
  2. using System.ComponentModel.DataAnnotations;
  3. namespace SafeCampus.Application.Services.Business.CameraInfoService;
  4. public class SetGroupInput
  5. {
  6. /// <summary>
  7. /// 分组Id
  8. /// </summary>
  9. [IdNotNull(ErrorMessage = "Id不能为空")]
  10. [DataValidation(ValidationTypes.Numeric)]
  11. public virtual long Id { get; set; }
  12. /// <summary>
  13. /// 摄像头Id列表
  14. /// </summary>
  15. [IdsNotNull(ErrorMessage = "IdList不能为空")]
  16. public List<long> Ids { get; set; } = new List<long>();
  17. }