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