36 lines
773 B
C#
36 lines
773 B
C#
using Microsoft.EntityFrameworkCore;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace DAL.Models.Audits
|
|
{
|
|
[Table("audit_savedEvents")]
|
|
[Index("id", Name = "audit_savedEvents_savedEvents_id_fk")]
|
|
[Keyless]
|
|
public class AuditSavedEvent
|
|
{
|
|
[Column("id")]
|
|
public ulong id { get; set; }
|
|
|
|
[Column("name")]
|
|
[MaxLength(64)]
|
|
public string name { get; set; } = null!;
|
|
|
|
[Column("bgColorId")]
|
|
public ulong bgColorId { get; set; }
|
|
|
|
[Column("fgColorId")]
|
|
public ulong fgColorId { get; set; }
|
|
|
|
[Column("imageId")]
|
|
public ulong? imageId { get; set; }
|
|
|
|
[Column("updated")]
|
|
[DataType("datetime")]
|
|
public DateTime updated { get; set; }
|
|
|
|
[Column("updater")]
|
|
public ulong updater { get; set; }
|
|
}
|
|
}
|