Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace Streetcode.BLL.DTO.AdditionalContent.Coordinates;

public abstract class CoordinateDTO
public abstract class CoordinateDto
{
public int Id { get; set; }
public decimal Latitude { get; set; }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace Streetcode.BLL.DTO.AdditionalContent.Coordinates.Types;

public class StreetcodeCoordinateDTO : CoordinateDTO
public class StreetcodeCoordinateDto : CoordinateDto
{
public int StreetcodeId { get; set; }
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace Streetcode.BLL.DTO.AdditionalContent.Coordinates.Types;

public class ToponymCoordinateDTO : CoordinateDTO
public class ToponymCoordinateDto : CoordinateDto
{
public int ToponymId { get; set; }
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace Streetcode.BLL.DTO.AdditionalContent.Coordinates.Update
{
public class StreetcodeCoordinateUpdateDTO
public class StreetcodeCoordinateUpdateDto
{
public int StreetcodeId { get; set; }
public int Id { get; set; }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace Streetcode.BLL.DTO.AdditionalContent.Filter
{
public class StreetcodeFilterRequestDTO
public class StreetcodeFilterRequestDto
{
public string SearchQuery { get; set; } = null!;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace Streetcode.BLL.DTO.AdditionalContent.Subtitles
{
public class SubtitleCreateDTO : SubtitleCreateUpdateDTO
public class SubtitleCreateDto : SubtitleCreateUpdateDto
{
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace Streetcode.BLL.DTO.AdditionalContent.Subtitles;

public abstract class SubtitleCreateUpdateDTO
public abstract class SubtitleCreateUpdateDto
{
public string SubtitleText { get; set; } = null!;
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace Streetcode.BLL.DTO.AdditionalContent.Subtitles;

public class SubtitleDTO : SubtitleCreateUpdateDTO
public class SubtitleDto : SubtitleCreateUpdateDto
{
public int Id { get; set; }
public int StreetcodeId { get; set; }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace Streetcode.BLL.DTO.AdditionalContent.Subtitles
{
public class SubtitleUpdateDTO : SubtitleDTO
public class SubtitleUpdateDto : SubtitleDto
{
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace Streetcode.BLL.DTO.AdditionalContent.Tag
{
public class CreateTagDTO : CreateUpdateTagDTO
public class CreateTagDto : CreateUpdateTagDto
{
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace Streetcode.BLL.DTO.AdditionalContent.Tag;

public abstract class CreateUpdateTagDTO
public abstract class CreateUpdateTagDto
{
public string Title { get; set; } = null!;
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

namespace Streetcode.BLL.DTO.AdditionalContent.Tag
{
public class GetAllTagsResponseDTO
public class GetAllTagsResponseDto
{
public int TotalAmount { get; set; }
public IEnumerable<TagDTO> Tags { get; set; } = new List<TagDTO>();
public IEnumerable<TagDto> Tags { get; set; } = new List<TagDto>();
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace Streetcode.BLL.DTO.AdditionalContent.Tag
{
public class StreetcodeTagDTO : CreateUpdateTagDTO
public class StreetcodeTagDto : CreateUpdateTagDto
{
public int Id { get; set; }
public bool IsVisible { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace Streetcode.BLL.DTO.AdditionalContent.Tag
{
public class StreetcodeTagUpdateDTO : StreetcodeTagDTO, IModelState
public class StreetcodeTagUpdateDto : StreetcodeTagDto, IModelState
{
public int StreetcodeId { get; set; }
public ModelState ModelState { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Streetcode.BLL.DTO.AdditionalContent;

public class TagDTO
public class TagDto
{
public int Id { get; set; }
public string Title { get; set; } = null!;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace Streetcode.BLL.DTO.AdditionalContent.Tag
{
public class UpdateTagDTO : CreateUpdateTagDTO
public class UpdateTagDto : CreateUpdateTagDto
{
public int Id { get; set; }
}
Expand Down
2 changes: 1 addition & 1 deletion Streetcode/Streetcode.BLL/DTO/AdditionalContent/UrlDTO.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace Streetcode.BLL.DTO.AdditionalContent;

public class UrlDTO
public class UrlDto
{
public string? Title { get; set; }
public string Href { get; set; } = null!;
Expand Down
4 changes: 2 additions & 2 deletions Streetcode/Streetcode.BLL/DTO/Analytics/StatisticRecordDTO.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

namespace Streetcode.BLL.DTO.Analytics
{
public class StatisticRecordDTO
public class StatisticRecordDto
{
public StreetcodeCoordinateDTO StreetcodeCoordinate { get; set; } = null!;
public StreetcodeCoordinateDto StreetcodeCoordinate { get; set; } = null!;
public int QrId { get; set; }
public int Count { get; set; }
public string Address { get; set; } = null!;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
using Streetcode.BLL.DTO.AdditionalContent.Coordinates.Types;
namespace Streetcode.BLL.DTO.Analytics
{
public class StatisticRecordResponseDTO
public class StatisticRecordResponseDto
{
public int Id { get; set; }
public StreetcodeCoordinateDTO StreetcodeCoordinate { get; set; } = null!;
public StreetcodeCoordinateDto StreetcodeCoordinate { get; set; } = null!;
public int QrId { get; set; }
public int Count { get; set; }
public string Address { get; set; } = null!;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@

namespace Streetcode.BLL.DTO.Analytics.Update
{
public class StatisticRecordUpdateDTO : IModelState
public class StatisticRecordUpdateDto : IModelState
{
public int Id { get; set; }
public int QrId { get; set; }
public int Count { get; set; }
public string Address { get; set; } = null!;
public int StreetcodeId { get; set; }
public StreetcodeCoordinateUpdateDTO StreetcodeCoordinate { get; set; } = null!;
public StreetcodeCoordinateUpdateDto StreetcodeCoordinate { get; set; } = null!;
public ModelState ModelState { get; set; }
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace Streetcode.BLL.DTO.ArtGallery.ArtSlide;

public class ArtForArtSlideDTO
public class ArtForArtSlideDto
{
public int Index { get; set; }
public int ArtId { get; set; }
Expand Down
4 changes: 2 additions & 2 deletions Streetcode/Streetcode.BLL/DTO/ArtGallery/ArtSlideDTO.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@

namespace Streetcode.BLL.DTO.ArtGallery.ArtSlide;

public class ArtSlideDTO
public class ArtSlideDto
{
public int Index { get; set; }
public int? StreetcodeId { get; set; }
public StreetcodeArtSlideTemplate Template { get; set; }
public ModelState ModelState { get; set; }
public IEnumerable<ArtForArtSlideDTO> StreetcodeArts { get; set; } = new List<ArtForArtSlideDTO>();
public IEnumerable<ArtForArtSlideDto> StreetcodeArts { get; set; } = new List<ArtForArtSlideDto>();
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Streetcode.BLL.DTO.Authentication.Login;

public class LoginRequestDTO
public class LoginRequestDto
{
[Required]
[EmailAddress]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

namespace Streetcode.BLL.DTO.Authentication.Login
{
public class LoginResponseDTO
public class LoginResponseDto
{
public UserDTO User { get; set; } = null!;
public UserDto User { get; set; } = null!;
public string AccessToken { get; set; } = null!;
public string RefreshToken { get; set; } = null!;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace Streetcode.BLL.DTO.Authentication.RefreshToken
{
public class RefreshTokenRequestDTO
public class RefreshTokenRequestDto
{
public string AccessToken { get; set; } = null!;
public string RefreshToken { get; set; } = null!;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace Streetcode.BLL.DTO.Authentication.RefreshToken
{
public class RefreshTokenResponceDTO
public class RefreshTokenResponceDto
{
public string AccessToken { get; set; } = null!;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

namespace Streetcode.BLL.DTO.Authentication.Register;

public class RegisterRequestDTO
public class RegisterRequestDto
{
[Required]
[MaxLength(50)]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace Streetcode.BLL.DTO.Authentication.Register
{
public class RegisterResponseDTO
public class RegisterResponseDto
{
public string Id { get; set; } = null!;
public string Name { get; set; } = null!;
Expand Down
2 changes: 1 addition & 1 deletion Streetcode/Streetcode.BLL/DTO/Email/EmailDTO.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
namespace Streetcode.BLL.DTO.Email
{
[ValidateNever]
public class EmailDTO
public class EmailDto
{
[MaxLength(80)]
public string From { get; set; } = null!;
Expand Down
2 changes: 1 addition & 1 deletion Streetcode/Streetcode.BLL/DTO/Feedback/ResponseDTO.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace Streetcode.BLL.DTO.Feedback;

public class ResponseDTO
public class ResponseDto
{
public int Id { get; set; }
public string? Name { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion Streetcode/Streetcode.BLL/DTO/Jobs/GetAllJobsDTO.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

namespace Streetcode.BLL.DTO.Jobs
{
public class GetAllJobsDTO
public class GetAllJobsDto
{
public int TotalAmount { get; set; }
public IEnumerable<JobDto> Jobs { get; set; } = new List<JobDto>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace Streetcode.BLL.DTO.Media.Create
{
public class ArtCreateUpdateDTO : IModelState
public class ArtCreateUpdateDto : IModelState
{
public int Id { get; set; }
public int ImageId { get; set; }
Expand Down
4 changes: 2 additions & 2 deletions Streetcode/Streetcode.BLL/DTO/Media/Art/ArtDTO.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@

namespace Streetcode.BLL.DTO.Media.Art;

public class ArtDTO : IModelState
public class ArtDto : IModelState
{
public int Id { get; set; }
public string? Description { get; set; }
public string? Title { get; set; }
public int ImageId { get; set; }
public ImageDTO? Image { get; set; }
public ImageDto? Image { get; set; }
public ModelState ModelState { get; set; }
public bool IsPersisted { get; set; }
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace Streetcode.BLL.DTO.Media.Art
{
public class StreetcodeArtCreateUpdateDTO
public class StreetcodeArtCreateUpdateDto
{
public int Index { get; set; }
public int ArtId { get; set; }
Expand Down
4 changes: 2 additions & 2 deletions Streetcode/Streetcode.BLL/DTO/Media/Art/StreetcodeArtDTO.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
namespace Streetcode.BLL.DTO.Media.Art
{
public class StreetcodeArtDTO
public class StreetcodeArtDto
{
public int Index { get; set; }
public ArtDTO Art { get; set; } = null!;
public ArtDto Art { get; set; } = null!;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@

namespace Streetcode.BLL.DTO.Media.Art
{
public class StreetcodeArtSlideCreateUpdateDTO : IModelState
public class StreetcodeArtSlideCreateUpdateDto : IModelState
{
public int SlideId { get; set; }
public int Index { get; set; }
public IEnumerable<StreetcodeArtCreateUpdateDTO> StreetcodeArts { get; set; } = new List<StreetcodeArtCreateUpdateDTO>();
public IEnumerable<StreetcodeArtCreateUpdateDto> StreetcodeArts { get; set; } = new List<StreetcodeArtCreateUpdateDto>();
public int? StreetcodeId { get; set; }
public StreetcodeArtSlideTemplate Template { get; set; }
public ModelState ModelState { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

namespace Streetcode.BLL.DTO.Media.Art;

public class StreetcodeArtSlideDTO
public class StreetcodeArtSlideDto
{
public int SlideId { get; set; }
public int Index { get; set; }
public int StreetcodeId { get; set; }
public StreetcodeArtSlideTemplate Template { get; set; }
public IEnumerable<StreetcodeArtDTO> StreetcodeArts { get; set; } = new List<StreetcodeArtDTO>();
public IEnumerable<StreetcodeArtDto> StreetcodeArts { get; set; } = new List<StreetcodeArtDto>();
}
2 changes: 1 addition & 1 deletion Streetcode/Streetcode.BLL/DTO/Media/Audio/AudioDTO.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace Streetcode.BLL.DTO.Media.Audio;

public class AudioDTO
public class AudioDto
{
public int Id { get; set; }
public string BlobName { get; set; } = null!;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
namespace Streetcode.BLL.DTO.Media.Audio;

public class AudioFileBaseCreateDTO : FileBaseCreateDTO
public class AudioFileBaseCreateDto : FileBaseCreateDto
{
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace Streetcode.BLL.DTO.Media.Audio;

public class AudioFileBaseUpdateDTO : AudioFileBaseCreateDTO
public class AudioFileBaseUpdateDto : AudioFileBaseCreateDto
{
public int Id { get; set; }
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace Streetcode.BLL.DTO.Media.Audio
{
public class AudioUpdateDTO : IModelState
public class AudioUpdateDto : IModelState
{
public int Id { get; set; }
public ModelState ModelState { get; set; }
Expand Down
Loading