source: FarmatikoData/Base/BaseEntity.cs

Last change on this file was 1db5673, checked in by DimitarSlezenkovski <dslezenkovski@…>, 4 years ago

Fix bugs, add some more

  • Property mode set to 100644
File size: 394 bytes
[a8ccc2c]1using System;
2using System.Collections.Generic;
3using System.Text;
[e42f61a]4using System.ComponentModel.DataAnnotations;
[1db5673]5using System.Text.Json.Serialization;
7namespace FarmatikoData.Base
9 public class BaseEntity
10 {
[1db5673]11 [JsonPropertyName("id")]
12 public int Id { get; set; }
[a8ccc2c]13 public DateTime CreatedOn { get; set; }
[e42f61a]14 public DateTime? DeletedOn { get; set; }
[a8ccc2c]15 }
Note: See TracBrowser for help on using the repository browser.