Skip to content

Commit

Permalink
New DTOs, changed properties and new parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
mkoper02 committed Mar 24, 2024
1 parent 4d47a25 commit de1eaa7
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Server/ReasnAPI/ReasnAPI/Models/DTO/AddressDto.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ public class AddressDto {
public string Country { get; set; } = null!;
public string City { get; set; } = null!;
public string Street { get; set; } = null!;
public string? State { get; set; }
public string State { get; set; } = null!;
public string? ZipCode { get; set; }
}
}
1 change: 1 addition & 0 deletions Server/ReasnAPI/ReasnAPI/Models/DTO/EventDto.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@ public class EventDto {
public DateTime UpdatedAt { get; set; }
public string? Slug { get; set; }
public int StatusId { get; set; }
public List<TagDto>? Tags { get; set; }
}
}
5 changes: 5 additions & 0 deletions Server/ReasnAPI/ReasnAPI/Models/DTO/RoleDto.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
namespace ReasnAPI.Models.DTO {
public class RoleDto {
public string Name { get; set; } = null!;
}
}
5 changes: 5 additions & 0 deletions Server/ReasnAPI/ReasnAPI/Models/DTO/TagDto.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
namespace ReasnAPI.Models.DTO {
public class TagDto {
public string Name { get; set; } = null!;
}
}

0 comments on commit de1eaa7

Please sign in to comment.