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("SecretValues", Schema = "StandAlone")]
public class SecretValue : IId
{
    [Key]
    public long Id { get; set; }

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

    [RedactAudit]
    public string Secret { get; set; } = null!;
}