ningshuxia
2022-09-21 d994f82c57d350f7b85f96dfe8f18369cadc0cec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace IStation.Application
{
    /// <summary>
    ///  Object 输入
    /// </summary>
    public class ObjectInput
    {
 
        /// <summary>
        /// 对象类型
        /// </summary>
        [Required, DataValidation(AllowEmptyStrings = false)]
        public string ObjectType { get; set; }
 
        /// <summary>
        /// 对象标识
        /// </summary>
        [Required, Range(1, long.MaxValue, ErrorMessage = "ObjectID 必须大于0")]
        public long ObjectID { get; set; }
    }
}