using Microsoft.EntityFrameworkCore; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace DAL.Models.Audits { [Table("audit_images")] [Index("id", Name = "audit_images_images_id_fk")] [Keyless] public class AuditImage { [Key] [Column("id")] public ulong id { get; set; } [Column("name")] [MaxLength(64)] public string name { get; set; } = null!; [Column("filename")] [MaxLength(128)] public string filename { get; set; } = null!; [Column("updated")] [DataType("datetime")] public DateTime updated { get; set; } [Column("updater")] public ulong updater { get; set; } } }