Ignore:
Timestamp:
11/16/20 03:55:10 (4 years ago)
Author:
DimitarSlezenkovski <dslezenkovski@…>
Branches:
master
Children:
db484c9
Parents:
8b13eb2
Message:

Fix bugs, add some more.

Location:
FarmatikoData/Models
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • FarmatikoData/Models/PharmacyHead.cs

    r8b13eb2 r8e74e2f  
    2222        public string Password { get; set; }
    2323
    24 
    2524        [JsonProperty("PharmacyMedicines")]
    2625        public List<Medicine> MedicineList { get; set; }
  • FarmatikoData/Models/User.cs

    r8b13eb2 r8e74e2f  
    22using System;
    33using System.Collections.Generic;
     4using System.ComponentModel.DataAnnotations;
    45using System.Text;
    56
     
    1314            PharmacyHead
    1415        }
     16        [Required]
    1517        public string Name { get; set; }
     18        [Required]
    1619        public string Email { get; set; }
     20        [Required]
    1721        public string Password { get; set; }
    1822        public Role UserRole { get; set; }
Note: See TracChangeset for help on using the changeset viewer.