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