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

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

[Table("EntriesWithName", Schema = "StandAlone")]
public class EntryWithName : IId
{
    [Key]
    public long Id { get; set; }

    [AuditName]
    [Required, MaxLength(50)]
    public string Name { get; set; } = string.Empty;
}