UserDto.cs 748 B

123456789101112131415161718192021222324252627
  1. using System.Runtime.CompilerServices;
  2. using Quadarax.Application.QLiberace.Base.Entities.Interfaces;
  3. using Quadarax.Application.QLiberace.Common.Dtos;
  4. #if DEBUG
  5. [assembly: InternalsVisibleTo("qdr.app.qlbrc.base.Tests")]
  6. [assembly: InternalsVisibleTo("qdr.app.qlbrc.common.Tests")]
  7. #endif
  8. namespace Quadarax.Application.QLiberace.Base.Dtos
  9. {
  10. public class UserRDto : QlbrcDtoTrackedWithId, IStructUser
  11. {
  12. public string LoginName { get; set; } = null!;
  13. public bool IsLocked { get; set; }
  14. }
  15. public class UserWDto : QlbrcDtoWithoutId, IStructUser
  16. {
  17. public string LoginName { get; set; } = null!;
  18. public bool IsLocked { get; set; }
  19. }
  20. public class UserDDto : QlbrcDtoWithId
  21. {
  22. }
  23. }