Ignore:
Timestamp:
02/08/21 16:39:25 (3 years ago)
Author:
Dimitar Slezenkovski <dslezenkovski@…>
Branches:
master
Children:
8eb1e21, dae4cde
Parents:
0a694bb
Message:

Fix all bugs

Location:
FarmatikoData/Models
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • FarmatikoData/Models/Pharmacy.cs

    r0a694bb re0cdea2  
    3131            this.WorkAllTime = WorkAllTime;
    3232        }
    33         public int PheadId { get; set; }
     33        public int? PheadId { get; set; }
    3434        public PharmacyHead PharmacyHead { get; set; }
    3535    }
  • FarmatikoData/Models/RequestPharmacyHead.cs

    r0a694bb re0cdea2  
    11using FarmatikoData.Base;
     2using Newtonsoft.Json;
    23using System;
    34using System.Collections.Generic;
     
    1314        {
    1415        }
    15         [Required]
    16         [JsonPropertyName("PharmacyHead")]
     16       
     17        [JsonProperty("PharmacyHead")]
    1718        public PharmacyHead Head { get; set; }
    18         [Required]
    19         [JsonPropertyName("Pharmacy")]
     19       
     20        [JsonProperty("Pharmacy")]
    2021        public Pharmacy Pharmacy { get; set; }
    2122
Note: See TracChangeset for help on using the changeset viewer.