Add frontend creation game (#13)
Reviewed-on: #13
This commit was merged in pull request #13.
This commit is contained in:
@@ -1,23 +0,0 @@
|
||||
namespace GameIdeas.Shared.Constants;
|
||||
|
||||
public static class Icons
|
||||
{
|
||||
private const string OpenBraket = "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">";
|
||||
private const string CloseBraket = "</svg>";
|
||||
|
||||
|
||||
public static class Search
|
||||
{
|
||||
public const string Clear = OpenBraket +
|
||||
"<path d=\"M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z\" />" +
|
||||
CloseBraket;
|
||||
|
||||
public const string Glass = OpenBraket +
|
||||
"<path d=\"M9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.44,13.73L14.71,14H15.5L20.5,19L19,20.5L14,15.5V14.71L13.73,14.44C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3M9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5Z\" />" +
|
||||
CloseBraket;
|
||||
|
||||
public const string Triangle = OpenBraket +
|
||||
"<path d=\"M1 3H23L12 22\" />" +
|
||||
CloseBraket;
|
||||
}
|
||||
}
|
||||
10
src/GameIdeas/GameIdeas.Shared/Dto/CategoriesDto.cs
Normal file
10
src/GameIdeas/GameIdeas.Shared/Dto/CategoriesDto.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
namespace GameIdeas.Shared.Dto;
|
||||
|
||||
public class CategoriesDto
|
||||
{
|
||||
public IEnumerable<PlatformDto>? Platforms { get; set; }
|
||||
public IEnumerable<PropertyDto>? Properties { get; set; }
|
||||
public IEnumerable<TagDto>? Tags { get; set; }
|
||||
public IEnumerable<DeveloperDto>? Developers { get; set; }
|
||||
public IEnumerable<PublisherDto>? Publishers { get; set; }
|
||||
}
|
||||
@@ -7,13 +7,13 @@ public class GameDto
|
||||
public DateTime? ReleaseDate { get; set; }
|
||||
public DateTime? CreationDate { get; set; }
|
||||
public UserDto? CreationUser { get; set; }
|
||||
public int? CreationUserId { get; set; }
|
||||
public int CreationUserId { get; set; }
|
||||
public DateTime? ModificationDate { get; set; }
|
||||
public UserDto? ModificationUser { get; set; }
|
||||
public int? ModificationUserId { get; set; }
|
||||
public double? StorageSpace { get; set; }
|
||||
public string? Description { get; set; }
|
||||
public int? Interest { get; set; }
|
||||
public int Interest { get; set; } = 3;
|
||||
public IEnumerable<PlatformDto>? Platforms { get; set; }
|
||||
public IEnumerable<PropertyDto>? Properties { get; set; }
|
||||
public IEnumerable<TagDto>? Tags { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user