-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #33 from SSchulze1989/develop
v0.5.0
- Loading branch information
Showing
11 changed files
with
85 additions
and
3 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
src/iRLeagueApiCore.Common/Models/Championships/ChampSeasonInfoModel.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,16 @@ | ||
namespace iRLeagueApiCore.Common.Models; | ||
|
||
[DataContract] | ||
public sealed class ChampSeasonInfoModel | ||
{ | ||
[DataMember] | ||
public long ChampSeasonId { get; set; } | ||
[DataMember] | ||
public long ChampionshipId { get; set; } | ||
[DataMember] | ||
public long SeasonId { get; set; } | ||
[DataMember] | ||
public string ChampionshipName { get; set; } = string.Empty; | ||
[DataMember] | ||
public string SeasonName { get; set; } = string.Empty; | ||
} |
14 changes: 14 additions & 0 deletions
14
src/iRLeagueApiCore.Common/Models/Championships/ChampSeasonModel.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,14 @@ | ||
namespace iRLeagueApiCore.Common.Models; | ||
|
||
[DataContract] | ||
public sealed class ChampSeasonModel : PutChampSeasonModel | ||
{ | ||
[DataMember] | ||
public long ChampSeasonId { get; set; } | ||
[DataMember] | ||
public long ChampionshipId { get; set; } | ||
[DataMember] | ||
public long SeasonId { get; set; } | ||
[DataMember] | ||
public string SeasonName { get; set; } = string.Empty; | ||
} |
10 changes: 10 additions & 0 deletions
10
src/iRLeagueApiCore.Common/Models/Championships/ChampionshipModel.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,10 @@ | ||
namespace iRLeagueApiCore.Common.Models; | ||
|
||
[DataContract] | ||
public sealed class ChampionshipModel : PutChampionshipModel | ||
{ | ||
[DataMember] | ||
public long ChampionshipId { get; set; } | ||
[DataMember] | ||
public IReadOnlyCollection<ChampSeasonInfoModel> Seasons { get; set; } = Array.Empty<ChampSeasonInfoModel>(); | ||
} |
6 changes: 6 additions & 0 deletions
6
src/iRLeagueApiCore.Common/Models/Championships/PostChampSeasonModel.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,6 @@ | ||
namespace iRLeagueApiCore.Common.Models; | ||
|
||
[DataContract] | ||
public class PostChampSeasonModel | ||
{ | ||
} |
10 changes: 10 additions & 0 deletions
10
src/iRLeagueApiCore.Common/Models/Championships/PostChampionshipModel.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,10 @@ | ||
namespace iRLeagueApiCore.Common.Models; | ||
|
||
[DataContract] | ||
public class PostChampionshipModel | ||
{ | ||
[DataMember] | ||
public string Name { get; set; } = string.Empty; | ||
[DataMember] | ||
public string DisplayName { get; set; } = string.Empty; | ||
} |
14 changes: 14 additions & 0 deletions
14
src/iRLeagueApiCore.Common/Models/Championships/PutChampSeasonModel.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,14 @@ | ||
namespace iRLeagueApiCore.Common.Models; | ||
|
||
[DataContract] | ||
public class PutChampSeasonModel : PostChampSeasonModel | ||
{ | ||
[DataMember] | ||
public string ChampionshipName { get; set; } = string.Empty; | ||
[DataMember] | ||
public string ChampionshipDisplayName { get; set; } = string.Empty; | ||
[DataMember] | ||
public StandingConfigModel? StandingConfig { get; set; } | ||
[DataMember] | ||
public ICollection<ResultConfigInfoModel> ResultConfigs { get; set; } = new List<ResultConfigInfoModel>(); | ||
} |
6 changes: 6 additions & 0 deletions
6
src/iRLeagueApiCore.Common/Models/Championships/PutChampionshipModel.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,6 @@ | ||
namespace iRLeagueApiCore.Common.Models; | ||
|
||
[DataContract] | ||
public class PutChampionshipModel : PostChampionshipModel | ||
{ | ||
} |
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
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