Ignore:
Timestamp:
09/30/20 10:37:22 (2 years ago)
Author:
DimitarSlezenkovski <dslezenkovski@…>
Branches:
master
Children:
1454207
Parents:
63d885e
Message:

Add new repo, service and controller

File:
1 edited

Legend:

Unmodified
Added
Removed
  • FarmatikoData/Models/Pharmacy.cs

    r63d885e r5d02859  
    11using System;
    22using System.Collections.Generic;
     3using System.ComponentModel.DataAnnotations;
    34using System.Text;
    45using FarmatikoData.Base;
     
    1011    {
    1112        public Pharmacy() { }
     13        [Required]
    1214        public string Name { get; set; }
     15        [Required]
    1316        public string Location { get; set; }
     17        [Required]
    1418        public string Address { get; set; }
     19        [Required]
    1520        public bool WorkAllTime { get; set; }
    1621        public Pharmacy(string Name, string Location, string Address, bool WorkAllTime)
Note: See TracChangeset for help on using the changeset viewer.