using AutoMapper; using System; using System.ComponentModel.DataAnnotations; using Znyc.Admin.Security.Entitys; namespace Znyc.Admin.Security.Dtos { /// /// 输入对象模型 /// [AutoMap(typeof(VehicleChange))] [Serializable] public class VehicleChangeInPutDto { /// /// 公司Id /// public long CompanyId { get; set; } /// /// 车辆Id /// public long VehicleId { get; set; } /// /// 物联卡类型 /// public long CardType { get; set; } /// /// SIM卡号 /// [Required(ErrorMessage = "物联卡号码不能为空!")] [MaxLength(25, ErrorMessage = "物联卡号码不得超过25个字")] public string SimNo { get; set; } /// /// 设备类型 /// public long TerminalType { get; set; } /// /// GPS协议号 /// public string AgreementNo { get; set; } /// /// IEML号 /// [Required(ErrorMessage = "GPSIMEI号不能为空!")] [MaxLength(25, ErrorMessage = "GPSIMEI号不得超过25个字")] public string ImeiNo { get; set; } /// /// 开通时间 /// public DateTime ChangeTime { get; set; } /// /// 修改日期 /// public DateTime UpdateTime { get; set; } /// /// 备注 /// public string Note { get; set; } } }