IW4M-Admin/Data/Models/AuditFields.cs

14 lines
319 B
C#
Raw Permalink 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; }
}
}