-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support settings autotag foundations
- Loading branch information
1 parent
6c4582f
commit 2f227a8
Showing
30 changed files
with
4,259 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
namespace Gameboard.Api.Data; | ||
|
||
public class SupportSettingsAutoTag : IEntity | ||
{ | ||
public string Id { get; set; } | ||
public required SupportSettingsAutoTagConditionType ConditionType { get; set; } | ||
public required string ConditionValue { get; set; } | ||
public string Description { get; set; } | ||
public required bool IsEnabled { get; set; } | ||
public required string Tag { get; set; } | ||
|
||
// navigation/modelfixup | ||
public required string SupportSettingsId { get; set; } | ||
public SupportSettings SupportSettings { get; set; } | ||
} |
9 changes: 9 additions & 0 deletions
9
src/Gameboard.Api/Data/Entities/SupportSettingsAutoTagConditionType.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
namespace Gameboard.Api.Data; | ||
|
||
public enum SupportSettingsAutoTagConditionType | ||
{ | ||
ChallengeSpecId, | ||
GameId, | ||
PlayerMode, | ||
SponsorId | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.