IW4M-Admin/Data/Models/AuditFields.cs

12 lines
278 B
C#
Raw Normal View History

using System;
using System.ComponentModel.DataAnnotations;
namespace Stats.Models
{
public class AuditFields
{
[Required]
public DateTime CreatedDateTime { get; set; } = DateTime.UtcNow;
public DateTime? UpdatedDateTime { get; set; }
}
}