-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d1d8846
commit 6083174
Showing
8 changed files
with
26 additions
and
13 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
...abase/Database/Entities/DateTimeEntity.cs → ...tabase/Database/Schemas/DateTimeSchema.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
4 changes: 2 additions & 2 deletions
4
.../Database/Entities/FullAbilityIdEntity.cs → ...e/Database/Schemas/FullAbilityIdSchema.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
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
6 changes: 3 additions & 3 deletions
6
...atabase/Database/Entities/LongIdEntity.cs → ...res.Database/Database/Schemas/IdSchema.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 |
---|---|---|
@@ -1,15 +1,15 @@ | ||
using EasyMicroservices.Cores.Interfaces; | ||
|
||
namespace EasyMicroservices.Cores.Database.Entities | ||
namespace EasyMicroservices.Cores.Database.Schemas | ||
{ | ||
/// <summary> | ||
/// | ||
/// </summary> | ||
public class LongIdEntity : IIdSchema<long> | ||
public class IdSchema<TId> : IIdSchema<TId> | ||
{ | ||
/// <summary> | ||
/// | ||
/// </summary> | ||
public long Id { get; set; } | ||
public TId Id { get; set; } | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
src/CSharp/EasyMicroservices.Cores.Database/Database/Schemas/LongIdSchema.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,12 @@ | ||
using EasyMicroservices.Cores.Interfaces; | ||
|
||
namespace EasyMicroservices.Cores.Database.Schemas | ||
{ | ||
/// <summary> | ||
/// | ||
/// </summary> | ||
public class LongIdSchema : IdSchema<long> | ||
{ | ||
|
||
} | ||
} |
4 changes: 2 additions & 2 deletions
4
...ase/Database/Entities/SoftDeleteEntity.cs → ...base/Database/Schemas/SoftDeleteSchema.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
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
4 changes: 2 additions & 2 deletions
4
src/CSharp/EasyMicroservices.Cores.Tests/DatabaseLogics/Database/Entities/ProfileEntity.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