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]
|
[Entity]
|
||||||
public interface ISession
|
public interface ISession
|
||||||
{
|
{
|
||||||
|
[Identifier]
|
||||||
string Id { get; }
|
string Id { get; }
|
||||||
|
|
||||||
IUser User { get; }
|
IUser User { get; }
|
||||||
|
|
|
@ -7,6 +7,7 @@ namespace NPSharp.CommandLine.Server.Database
|
||||||
[Entity]
|
[Entity]
|
||||||
public interface IUser
|
public interface IUser
|
||||||
{
|
{
|
||||||
|
[Identifier]
|
||||||
string Id { get; }
|
string Id { get; }
|
||||||
|
|
||||||
string UserName { get; set; }
|
string UserName { get; set; }
|
||||||
|
|
Loading…
Reference in New Issue