mirror of
https://github.com/sphildreth/roadie
synced 2024-11-26 22:20:21 +00:00
25 lines
No EOL
538 B
C#
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; }
|
|
}
|
|
} |