Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • FarmatikoData/Models/Pharmacy.cs

    r30a465f r171f106  
    11using System;
    22using System.Collections.Generic;
     3using System.ComponentModel.DataAnnotations;
    34using System.Text;
     5using FarmatikoData.Base;
    46using Microsoft.EntityFrameworkCore;
    57
    68namespace FarmatikoData.Models
    79{
    8     public class Pharmacy
     10    public class Pharmacy : BaseEntity
    911    {
    1012        public Pharmacy() { }
     13        [Required]
    1114        public string Name { get; set; }
     15        [Required]
    1216        public string Location { get; set; }
     17        [Required]
    1318        public string Address { get; set; }
    1419        public bool WorkAllTime { get; set; }
Note: See TracChangeset for help on using the changeset viewer.