Files
server/extra/admin-api/Models/Spacebar.Models.Db/Models/EmbedCache.cs
T
2026-04-16 02:38:37 +02:00

28 lines
679 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;
namespace Spacebar.Models.Db.Models;
[Table("embed_cache")]
public partial class EmbedCache
{
[Key]
[Column("id")]
public long Id { get; set; }
[Column("url", TypeName = "character varying")]
public string Url { get; set; } = null!;
[Column("embed", TypeName = "jsonb")]
public string? Embed { get; set; }
[Column("created_at")]
public DateTime? CreatedAt { get; set; }
[Column("embeds", TypeName = "jsonb")]
public string? Embeds { get; set; }
}