SettingDto.cs 505 B

123456789101112131415161718192021
  1. using Abp.Application.Services.Dto;
  2. using Abp.AutoMapper;
  3. using VberZero.BaseSystem;
  4. namespace VberZero.AppService.Settings.Dto;
  5. [AutoMapTo(typeof(SysSetting)), AutoMapFrom(typeof(SysSetting))]
  6. public class SettingDto : EntityDto<long>
  7. {
  8. public string Name { get; set; }
  9. public string Value { get; set; }
  10. public int Type { get; set; }
  11. }
  12. public class ChangeSettingDto
  13. {
  14. public string Name { get; set; }
  15. public string Value { get; set; }
  16. public string Password { get; set; }
  17. }