You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
69 lines
1.7 KiB
69 lines
1.7 KiB
using AutoMapper;
|
|
using System;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using Znyc.Admin.Security.Entitys;
|
|
|
|
namespace Znyc.Admin.Security.Dtos
|
|
{
|
|
/// <summary>
|
|
/// 输入对象模型
|
|
/// </summary>
|
|
[AutoMap(typeof(VehicleChange))]
|
|
[Serializable]
|
|
public class VehicleChangeInPutDto
|
|
{
|
|
/// <summary>
|
|
/// 公司Id
|
|
/// </summary>
|
|
public long CompanyId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 车辆Id
|
|
/// </summary>
|
|
public long VehicleId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 物联卡类型
|
|
/// </summary>
|
|
public long CardType { get; set; }
|
|
|
|
/// <summary>
|
|
/// SIM卡号
|
|
/// </summary>
|
|
[Required(ErrorMessage = "物联卡号码不能为空!")]
|
|
[MaxLength(25, ErrorMessage = "物联卡号码不得超过25个字")]
|
|
public string SimNo { get; set; }
|
|
|
|
/// <summary>
|
|
/// 设备类型
|
|
/// </summary>
|
|
public long TerminalType { get; set; }
|
|
|
|
/// <summary>
|
|
/// GPS协议号
|
|
/// </summary>
|
|
public string AgreementNo { get; set; }
|
|
|
|
/// <summary>
|
|
/// IEML号
|
|
/// </summary>
|
|
[Required(ErrorMessage = "GPSIMEI号不能为空!")]
|
|
[MaxLength(25, ErrorMessage = "GPSIMEI号不得超过25个字")]
|
|
public string ImeiNo { get; set; }
|
|
|
|
/// <summary>
|
|
/// 开通时间
|
|
/// </summary>
|
|
public DateTime ChangeTime { get; set; }
|
|
|
|
/// <summary>
|
|
/// 修改日期
|
|
/// </summary>
|
|
public DateTime UpdateTime { get; set; }
|
|
|
|
/// <summary>
|
|
/// 备注
|
|
/// </summary>
|
|
public string Note { get; set; }
|
|
}
|
|
}
|