source: FarmatikoData/Base/BaseEntity.cs@ 28d7d35

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

Fix bugs, add some more

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