Last change
on this file since afefe75 was 8e74e2f, checked in by DimitarSlezenkovski <dslezenkovski@…>, 4 years ago |
Fix bugs, add some more.
|
-
Property mode
set to
100644
|
File size:
541 bytes
|
Line | |
---|
1 | using FarmatikoData.Base;
|
---|
2 | using System;
|
---|
3 | using System.Collections.Generic;
|
---|
4 | using System.ComponentModel.DataAnnotations;
|
---|
5 | using System.Text;
|
---|
6 |
|
---|
7 | namespace FarmatikoData.Models
|
---|
8 | {
|
---|
9 | public class User : BaseEntity
|
---|
10 | {
|
---|
11 | public enum Role
|
---|
12 | {
|
---|
13 | Admin,
|
---|
14 | PharmacyHead
|
---|
15 | }
|
---|
16 | [Required]
|
---|
17 | public string Name { get; set; }
|
---|
18 | [Required]
|
---|
19 | public string Email { get; set; }
|
---|
20 | [Required]
|
---|
21 | public string Password { get; set; }
|
---|
22 | public Role UserRole { get; set; }
|
---|
23 | }
|
---|
24 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.