source: FarmatikoData/Models/User.cs@ 0a694bb

Last change on this file since 0a694bb was 8e74e2f, checked in by DimitarSlezenkovski <dslezenkovski@…>, 2 years ago

Fix bugs, add some more.

  • Property mode set to 100644
File size: 541 bytes
Line 
1using FarmatikoData.Base;
2using System;
3using System.Collections.Generic;
4using System.ComponentModel.DataAnnotations;
5using System.Text;
6
7namespace 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.