feat: Add BackgroundSize property to Slide model
This commit is contained in:
@@ -40,6 +40,10 @@ public class Slide
|
|||||||
[MaxLength(500)]
|
[MaxLength(500)]
|
||||||
public string? BackgroundImage { get; set; }
|
public string? BackgroundImage { get; set; }
|
||||||
|
|
||||||
|
/// <summary>Background image sizing: cover, contain, fill, scale-down, auto</summary>
|
||||||
|
[MaxLength(20)]
|
||||||
|
public string BackgroundSize { get; set; } = "cover";
|
||||||
|
|
||||||
public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
|
public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
|
||||||
public DateTime UpdatedAt { get; set; } = DateTime.UtcNow;
|
public DateTime UpdatedAt { get; set; } = DateTime.UtcNow;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user