Add standard audit fields to all entities
This commit is contained in:
@ -1,14 +1,21 @@
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace Oqtane.Models
|
||||
{
|
||||
public class Alias
|
||||
public class Alias : IAuditable
|
||||
{
|
||||
public int AliasId { get; set; }
|
||||
public string Name { get; set; }
|
||||
public int TenantId { get; set; }
|
||||
public int SiteId { get; set; }
|
||||
|
||||
public string CreatedBy { get; set; }
|
||||
public DateTime CreatedOn { get; set; }
|
||||
public string ModifiedBy { get; set; }
|
||||
public DateTime ModifiedOn { get; set; }
|
||||
|
||||
|
||||
[NotMapped]
|
||||
public string Scheme { get; set; }
|
||||
|
||||
|
Reference in New Issue
Block a user