Set the MongoDB ID to be the key
This commit is contained in:
parent
2f38780d2f
commit
84ae81d411
1 changed files with 1 additions and 2 deletions
|
@ -12,10 +12,9 @@ namespace Robware.Data.ApiKeys.State {
|
|||
}
|
||||
|
||||
[BsonId]
|
||||
public int Id { get; set; }
|
||||
public string Key { get; set; }
|
||||
public string Name { get; set; }
|
||||
public DateTime IssueTimestamp { get; set; }
|
||||
public string Key { get; set; }
|
||||
public bool Enabled { get; set; }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue