wangzelong
2022-11-03 0112b8cd7b35b38f6295cde8e87be603800afcf6
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace IStation.Application
{
    /// <summary>
    /// 添加对象地图信息
    /// </summary>
    public class AddObjectMapInfoInput
    {
 
        /// <summary>
        /// 客户标识
        /// </summary>    
        [Required, Range(1, long.MaxValue, ErrorMessage = "CorpID 必须大于0")]
        public long CorpID { get; set; }
 
        /// <summary>
        /// 对象类型
        /// </summary>    
        [Required, DataValidation(AllowEmptyStrings = false)]
        public string ObjectType { get; set; }
 
        /// <summary>
        /// 子类型
        /// </summary>
        public string SubType { get; set; }
 
        /// <summary>
        /// 对象标识
        /// </summary>    
        [Required, Range(1, long.MaxValue, ErrorMessage = "ObjectID 必须大于0")]
        public long ObjectID { get; set; }
 
        /// <summary>
        /// 对象名称
        /// </summary>    
        [Required, DataValidation(AllowEmptyStrings = false)]
        public string ObjectName { get; set; }
 
        /// <summary>
        /// 目的
        /// </summary>    
        [Required, DataValidation(AllowEmptyStrings = false)]
        public string Purpose { get; set; }
 
        /// <summary>
        /// 地图种类
        /// </summary>    
        [Required, DataValidation(AllowEmptyStrings = false)]
        public string Kind { get; set; }
 
        /// <summary>
        /// 地图形状
        /// </summary>    
        [Required, DataValidation(AllowEmptyStrings = false)]
        public string Shape { get; set; }
 
        /// <summary>
        /// 地图位置
        /// </summary>    
        [Required, DataValidation(AllowEmptyStrings = false)]
        public string Position { get; set; } 
    }
}