using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace Model.ModelVm.SysVm { /// /// 添加、修改仓库Model /// public class EditWareHouseVm { /// /// ID /// public int Id { get; set; } /// /// 仓库号 /// [MaxLength(10)] [Required] public string WareHouseNo { get; set; } /// /// 仓库名称 /// [MaxLength(20)] [Required] public string WareHouseName { get; set; } /// /// 类型 /// [MaxLength(3)] [Required] public string Type { get; set; } /// /// 存储环境 /// [MaxLength(3)] public string Temp { get; set; } /// /// 排 /// public int? Row { get; set; } /// /// 列 /// public int? Col { get; set; } /// /// 层 /// public int? Layer { get; set; } } /// /// 查询仓库Model /// public class GetWareHouseVm:IndexPage { /// /// 仓库号 /// public string WareHouseNo { get; set; } /// /// 仓库名称 /// public string WareHouseName { get; set; } /// /// 类型 /// public string Type { get; set; } } }