source:
FarmatikoData/Base/BaseEntity.cs@
dae4cde
Last change on this file since dae4cde was 1db5673, checked in by , 4 years ago | |
---|---|
|
|
File size: 394 bytes |
Rev | Line | |
---|---|---|
[a8ccc2c] | 1 | using System; |
2 | using System.Collections.Generic; | |
3 | using System.Text; | |
[e42f61a] | 4 | using System.ComponentModel.DataAnnotations; |
[1db5673] | 5 | using System.Text.Json.Serialization; |
[a8ccc2c] | 6 | |
7 | namespace FarmatikoData.Base | |
8 | { | |
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 | } |
16 | } |
Note:
See TracBrowser
for help on using the repository browser.