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/Medicine.cs

    r63d885e r5d02859  
    11using FarmatikoData.Base;
     2using System.ComponentModel.DataAnnotations;
    23
    34namespace FarmatikoData.Models
     
    67    {
    78        public Medicine() { }
     9        [Required]
    810        public string Name { get; set; }
     11        [Required]
    912        public string Strength { get; set; }
    1013        public string Form { get; set; }
     14        [Required]
    1115        public string WayOfIssuing { get; set; }
     16        [Required]
    1217        public string Manufacturer { get; set; }
    1318        public float Price { get; set; }
Note: See TracChangeset for help on using the changeset viewer.