using MisIngredientesVue.Core.Services; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text; namespace MisIngredientesVue.Core.Models { public class ActivityLog : RepositoryEntity { [IgnoreRelationship] public string TenantId { get; set; } [IncludeTime] public DateTime CreatedOn { get; set; } public int CreatedById { get; set; } [IgnoreRelationship] public int EntityId { get; set; } [MaxLength(20)] public string EntityType { get; set; } public User CreatedBy { get; set; } [Text] public string Comment { get; set; } public ActivityLogType Type { get; set; } } public enum ActivityLogType { Add = 0, Edit = 1, Delete = 2, Archive = 3 } }