using System.ComponentModel.DataAnnotations; using Abp.Application.Services.Dto; using Abp.AutoMapper; using WeApp.BaseInfo; using IwbZero.Authorization.Base.SystemInfo; namespace WeApp.BaseSystem.States.Dto { [AutoMapTo(typeof(SysState))] public class StateUpdateDto : EntityDto { [StringLength(SysStateBase.StateNoMaxLength)] public string StateNo { get; set; } [StringLength(SysStateBase.StateNameMaxLength)] public string StateName { get; set; } [Required] [StringLength(SysStateBase.TableNameMaxLength)] public string TableName { get; set; } [Required] [StringLength(SysStateBase.ColNameMaxLength)] public string ColumnName { get; set; } [Required] [StringLength(SysStateBase.CodeValueMaxLength)] public string CodeValue { get; set; } [Required] [StringLength(SysStateBase.DisplayValueMaxLength)] public string DisplayValue { get; set; } } }