IW4M-Admin/Data/Models/AuditFields.cs

13 lines
318 B
C#
Raw Normal View History

using System;
using System.ComponentModel.DataAnnotations;
2021-07-08 22:12:09 -04:00
using Data.Abstractions;
namespace Stats.Models
{
2021-07-08 22:12:09 -04:00
public class AuditFields : IAuditFields
{
[Required]
public DateTime CreatedDateTime { get; set; } = DateTime.UtcNow;
public DateTime? UpdatedDateTime { get; set; }
}
}