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.
|
- using MoYu.DataValidation;
- using System.ComponentModel.DataAnnotations;
-
- namespace SafeCampus.Application.Services.Business.CameraInfoService;
-
- public class SetGroupInput
- {
- /// <summary>
- /// 分组Id
- /// </summary>
- [IdNotNull(ErrorMessage = "Id不能为空")]
- [DataValidation(ValidationTypes.Numeric)]
- public virtual long Id { get; set; }
- /// <summary>
- /// 摄像头Id列表
- /// </summary>
- [IdsNotNull(ErrorMessage = "IdList不能为空")]
- public List<long> Ids { get; set; } = new List<long>();
- }
|