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>
| /// Belong 输入
| /// </summary>
| public class BelongInput
| {
|
| /// <summary>
| /// 所属类型
| /// </summary>
| [Required, DataValidation(AllowEmptyStrings = false)]
| public string BelongType { get; set; }
|
| /// <summary>
| /// 所属标识
| /// </summary>
| [Required, Range(1, long.MaxValue, ErrorMessage = "BelongID 必须大于0")]
| public long BelongID { get; set; }
| }
| }
|
|