29 lines
938 B
C#
29 lines
938 B
C#
namespace BLAIzor.Models
|
|
{
|
|
//public class HtmlSnippet
|
|
//{
|
|
// public int Id { get; set; }
|
|
// public string Type { get; set; }
|
|
// public string Name { get; set; }
|
|
// public string Description { get; set; }
|
|
// public string Html { get; set; }
|
|
//}
|
|
|
|
public class HtmlSnippet
|
|
{
|
|
public int Id { get; set; }
|
|
public string Name { get; set; }
|
|
public string Description { get; set; }
|
|
public string Html { get; set; }
|
|
public string Tags { get; set; }
|
|
public string Type { get; set; } // e.g. "article", "form", "gallery"
|
|
public string? Variant { get; set; } // 👈 NEW: e.g. "image-left", "image-right", "no-image"
|
|
public string SampleHtml { get; set; } //for design purposes
|
|
public List<string> Slots { get; set; } // e.g. ["title", "subtitle", "image", "cta"]
|
|
public float[] Vectors { get; set; }
|
|
|
|
}
|
|
|
|
}
|
|
|