using System.ComponentModel.DataAnnotations; using Abp.Application.Services.Dto; using Abp.AutoMapper; using VberZero.AppService.Base.Dto; using VberZero.BaseSystem; namespace VberZero.AppService.States.Dto; [AutoMapTo(typeof(SysState))] public class StateUpdateDto : VzEntityDto { [Required] [StringLength(SysState.NameMaxLength)] public string Name { get; set; } [Required] [StringLength(SysState.CodeKeyMaxLength)] public string CodeKey { get; set; } [Required] [StringLength(SysState.DisplayValueMaxLength)] public string DisplayValue { get; set; } }