roadie/RoadieLibrary/Models/EntityInfoModelBase.cs
Steven Hildreth d5760d97f5 WIP
2018-11-06 16:59:48 -06:00

25 lines
No EOL
538 B
C#

using Mapster;
using Newtonsoft.Json;
using System;
using System.ComponentModel.DataAnnotations;
namespace Roadie.Library.Models
{
[Serializable]
public abstract class EntityInfoModelBase
{
[Key]
[Required]
[AdaptMember("RoadieId")]
public Guid Id { get; set; }
public string CssClass { get; set; }
[MaxLength(250)]
public string SortName { get; set; }
public DateTime? CreatedDate { get; set; }
public DateTime? LastUpdated { get; set; }
}
}