Authorize API
All checks were successful
Game Ideas build for PR / build_blazor_app (pull_request) Successful in 40s
All checks were successful
Game Ideas build for PR / build_blazor_app (pull_request) Successful in 40s
This commit is contained in:
@@ -6,11 +6,14 @@ public class GlobalConstants
|
||||
public readonly static Guid ADMINISTRATOR_USER_ID = Guid.Parse("{2AB56FCB-0CDE-4DAE-AC9C-FC7635B0D18A}");
|
||||
public readonly static Guid MEMBER_ID = Guid.Parse("{BCE14DEA-1748-4A76-8485-ADEE83DF5EFD}");
|
||||
|
||||
public readonly static string ADMINISTRATOR = "Administrateur";
|
||||
public readonly static string MEMBER = "Membre";
|
||||
public const string ADMINISTRATOR = "Administrateur";
|
||||
public const string MEMBER = "Membre";
|
||||
public const string ADMIN_MEMBER = $"{ADMINISTRATOR}, {MEMBER}";
|
||||
|
||||
public readonly static int JWT_DURATION_HOUR = 12;
|
||||
public const int JWT_DURATION_HOUR = 12;
|
||||
|
||||
public readonly static int NUMBER_PER_PAGE = 50;
|
||||
public const int NUMBER_PER_PAGE = 50;
|
||||
|
||||
public const string LS_AUTH_STORAGE_KEY = "authToken";
|
||||
}
|
||||
|
||||
@@ -6,9 +6,9 @@ public class GameDetailDto
|
||||
public string? Title { get; set; }
|
||||
public DateTime? ReleaseDate { get; set; }
|
||||
public DateTime? CreationDate { get; set; }
|
||||
public int CreationUserId { get; set; }
|
||||
public string CreationUserId { get; set; } = string.Empty;
|
||||
public DateTime? ModificationDate { get; set; }
|
||||
public int? ModificationUserId { get; set; }
|
||||
public string? ModificationUserId { get; set; }
|
||||
public double? StorageSpace { get; set; }
|
||||
public string? Description { get; set; }
|
||||
public int Interest { get; set; } = 3;
|
||||
|
||||
Reference in New Issue
Block a user