Command.cs 1.0 KB

123456789101112131415161718192021222324252627282930
  1. using Application.Abstractions.Messaging;
  2. namespace Application.Features.Config.Update;
  3. public sealed record Command(
  4. Request.BasicConfigDto? Basic = null,
  5. Request.ImagesConfigDto? Images = null,
  6. Request.MetaConfigDto? Meta = null,
  7. Request.CompanyConfigDto? Company = null,
  8. Request.AccountConfigDto? Account = null,
  9. Request.EmailTemplateConfigDto? EmailTemplate = null,
  10. Request.ExternalApiConfigDto? External = null,
  11. Request.TossConfigDto? Toss = null,
  12. Request.AttendanceConfigDto? Attendance = null,
  13. Request.SignupRewardConfigDto? SignupReward = null,
  14. Request.RewardConfigDto? Reward = null,
  15. Request.PaperConfigDto? Paper = null,
  16. Command.ImagesDeleteFlags? ImagesDelete = null
  17. ) : ICommand {
  18. public sealed record ImagesDeleteFlags(
  19. bool Favicon = false,
  20. bool LogoSquare = false,
  21. bool LogoHorizontal = false,
  22. bool OgDefault = false,
  23. bool TwitterImage = false,
  24. bool AppleTouchIcon = false,
  25. bool AppIcon192 = false,
  26. bool AppIcon512 = false
  27. );
  28. }