Changeset 1db5673 for FarmatikoData/Base


Ignore:
Timestamp:
11/14/20 12:27:30 (4 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/Base/BaseEntity.cs

    rad60966 r1db5673  
    33using System.Text;
    44using System.ComponentModel.DataAnnotations;
     5using System.Text.Json.Serialization;
    56
    67namespace FarmatikoData.Base
     
    89    public class BaseEntity
    910    {
    10         public int Id { get; set; }
     11        [JsonPropertyName("id")]
     12        public int Id {  get; set; }
    1113        public DateTime CreatedOn { get; set; }
    1214        public DateTime? DeletedOn { get; set; }
Note: See TracChangeset for help on using the changeset viewer.