source:
resTools_backend/backend/Entities/User.cs@
d76b7ee
Last change on this file since d76b7ee was 7a983b0, checked in by , 2 years ago | |
---|---|
|
|
File size: 257 bytes |
Rev | Line | |
---|---|---|
[057037b] | 1 | using Newtonsoft.Json; |
2 | ||
[b66b3ac] | 3 | namespace backend.Entities; |
4 | ||
5 | public class User | |
6 | { | |
7 | public int Id { get; set; } | |
[057037b] | 8 | public string Email { get; set; } |
[b66b3ac] | 9 | public string Password { get; set; } |
[057037b] | 10 | [JsonIgnore] |
[b66b3ac] | 11 | public virtual Restaurant Restaurant { get; set; } |
12 | } |
Note:
See TracBrowser
for help on using the repository browser.