using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Security.AccessControl; using System.Threading.Tasks; namespace Model.ModelVm.SysVm { /// /// 添加物流信息Model /// public class AddLogisticsInfoVm { /// /// 运输公司 /// [Required] [MaxLength(30)] public string CarrierName { get; set; } /// /// 地址 /// [MaxLength(100)] public string Address { get; set; } /// /// 联系人 /// [MaxLength(20)] public string LinkMan { get; set; } /// /// 银行卡号 /// [MaxLength(30)] public string BankAccount { get; set; } /// /// 信用等级 /// [MaxLength(3)] public string CreditRating { get; set; } /// /// 电话 /// [MaxLength(20)] public string Phone { get; set; } /// /// 车牌号 /// [MaxLength(10)] public string LicensePlate { get; set; } /// /// 车辆类型 /// [MaxLength(3)] public string Type { get; set; } /// /// 备注 /// [MaxLength(1000)] public string Demo { get; set; } } /// /// 编辑物流信息Model /// public class EditLogisticsInfoVm { [Required] public int Id { get; set; } /// /// 运输公司 /// [Required] [MaxLength(30)] public string CarrierName { get; set; } /// /// 地址 /// [MaxLength(100)] public string Address { get; set; } /// /// 联系人 /// [MaxLength(20)] public string LinkMan { get; set; } /// /// 银行卡号 /// [MaxLength(30)] public string BankAccount { get; set; } /// /// 信用等级 /// [MaxLength(3)] public string CreditRating { get; set; } /// /// 电话 /// [MaxLength(20)] public string Phone { get; set; } /// /// 车牌号 /// [MaxLength(10)] public string LicensePlate { get; set; } /// /// 车辆类型 /// [MaxLength(3)] public string Type { get; set; } /// /// 备注 /// [MaxLength(1000)] public string Demo { get; set; } } /// /// 查询物流信息Model /// public class GetLogisticsInfoVm:IndexPage { /// /// 运输公司 /// public string CarrierName { get; set; } /// /// 联系人 /// public string LinkMan { get; set; } /// /// 电话 /// public string Phone { get; set; } /// /// 车牌号 /// public string LicensePlate { get; set; } /// /// 车辆类型 /// public string Type { get; set; } } }