mirror of https://github.com/icedream/npsharp.git
Adding identifier attributes.
parent
a36e90f3c4
commit
20ae47ef0f
|
@ -6,6 +6,7 @@ namespace NPSharp.CommandLine.Server.Database
|
|||
[Entity]
|
||||
public interface ISession
|
||||
{
|
||||
[Identifier]
|
||||
string Id { get; }
|
||||
|
||||
IUser User { get; }
|
||||
|
|
|
@ -7,6 +7,7 @@ namespace NPSharp.CommandLine.Server.Database
|
|||
[Entity]
|
||||
public interface IUser
|
||||
{
|
||||
[Identifier]
|
||||
string Id { get; }
|
||||
|
||||
string UserName { get; set; }
|
||||
|
|
Loading…
Reference in New Issue