using System.ComponentModel.DataAnnotations;
using e_suite.Database.Audit.Attributes;
using e_suite.Database.Audit.Models;

namespace e_suite.Database.Audit.UnitTests.Helpers.Tables;

public class TableWithLastUpdated : IId
{
    [Key]
    public long Id { get; set; }

    public string Name { get; set; } = string.Empty;

    [AuditSoftDelete(true)]
    public bool Deleted { get; set; } = false;

    [AuditLastUpdated]
    public DateTimeOffset LastUpdated { get; set; }
}