source: FarmatikoData/Models/User.cs

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

Fix bugs, add some more.

  • Property mode set to 100644
File size: 541 bytes
RevLine 
[d23bf72]1using FarmatikoData.Base;
2using System;
3using System.Collections.Generic;
[8e74e2f]4using System.ComponentModel.DataAnnotations;
[d23bf72]5using System.Text;
6
7namespace FarmatikoData.Models
8{
9 public class User : BaseEntity
10 {
11 public enum Role
12 {
13 Admin,
14 PharmacyHead
15 }
[8e74e2f]16 [Required]
[d23bf72]17 public string Name { get; set; }
[8e74e2f]18 [Required]
[d23bf72]19 public string Email { get; set; }
[8e74e2f]20 [Required]
[d23bf72]21 public string Password { get; set; }
22 public Role UserRole { get; set; }
23 }
24}
Note: See TracBrowser for help on using the repository browser.