using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace IStation.Application { /// /// 客户下 Attachment 输入 /// public class AttachmentUnderCorpInput { /// /// 客户标识 /// [Required, Range(1, long.MaxValue, ErrorMessage = "CorpID 必须大于0")] public long CorpID { get; set; } /// /// 附加类型 /// [Required,DataValidation(AllowEmptyStrings =false)] public string AttachType { get; set; } /// /// 附加标识 /// [Required, Range(1, long.MaxValue, ErrorMessage = "AttachID 必须大于0")] public long AttachID { get; set; } } }