namespace Admin.NET.Core.Service; public class JobTriggerInput { /// /// 作业Id /// public string JobId { get; set; } /// /// 触发器Id /// public string TriggerId { get; set; } } public class AddJobTriggerInput : SysJobTrigger { /// /// 作业Id /// [Required(ErrorMessage = "作业Id不能为空"), MinLength(2, ErrorMessage = "作业Id不能少于2个字符")] public override string JobId { get; set; } /// /// 触发器Id /// [Required(ErrorMessage = "触发器Id不能为空"), MinLength(2, ErrorMessage = "触发器Id不能少于2个字符")] public override string TriggerId { get; set; } } public class UpdateJobTriggerInput : AddJobTriggerInput { } public class DeleteJobTriggerInput : JobTriggerInput { }