Ignore:
Timestamp:
11/14/20 12:27:30 (2 years ago)
Author:
DimitarSlezenkovski <dslezenkovski@…>
Branches:
master
Children:
68454c6
Parents:
ad60966
Message:

Fix bugs, add some more

File:
1 edited

Legend:

Unmodified
Added
Removed
  • FarmatikoData/Models/Medicine.cs

    rad60966 r1db5673  
    11using FarmatikoData.Base;
     2using System.Collections;
     3using System.Collections.Generic;
    24using System.ComponentModel.DataAnnotations;
     5using System.Diagnostics.CodeAnalysis;
     6using System.Text.Json.Serialization;
    37
    48namespace FarmatikoData.Models
     
    1822        public float Price { get; set; }
    1923        public string Packaging { get; set; }
     24        //[JsonPropertyName("PHMedicineList")]
     25        public ICollection<PharmacyHeadMedicine> MedicineList { get; set; }
    2026        public Medicine(string Name, string Strength, string Form, string WayOfIssuing, string Manufacturer, float Price, string Packaging)
    2127        {
     
    2834            this.Packaging = Packaging;
    2935        }
    30 
    3136    }
    3237}
Note: See TracChangeset for help on using the changeset viewer.