source:
FarmatikoData/Models/User.cs@
68454c6
Last change on this file since 68454c6 was d23bf72, checked in by , 4 years ago | |
---|---|
|
|
File size: 439 bytes |
Rev | Line | |
---|---|---|
[d23bf72] | 1 | using FarmatikoData.Base; |
2 | using System; | |
3 | using System.Collections.Generic; | |
4 | using System.Text; | |
5 | ||
6 | namespace FarmatikoData.Models | |
7 | { | |
8 | public class User : BaseEntity | |
9 | { | |
10 | public enum Role | |
11 | { | |
12 | Admin, | |
13 | PharmacyHead | |
14 | } | |
15 | public string Name { get; set; } | |
16 | public string Email { get; set; } | |
17 | public string Password { get; set; } | |
18 | public Role UserRole { get; set; } | |
19 | } | |
20 | } |
Note:
See TracBrowser
for help on using the repository browser.