using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace IStation.Application { /// /// Target 输入 /// public class TargetInput { /// /// 目标类型 /// [Required, DataValidation(AllowEmptyStrings = false)] public string TargetType { get; set; } /// /// 目标标识 /// [Required, Range(1, long.MaxValue, ErrorMessage = "TargetID 必须大于0")] public long TargetID { get; set; } } }