feat: Add BackgroundSize property to Slide model
This commit is contained in:
1 parent
c7e82a47e9
commit
9b4e2677dc
1 file changed
+4
@@ -40,6 +40,10 @@ public class Slide
|
||||
[MaxLength(500)]
|
||||
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 UpdatedAt { get; set; } = DateTime.UtcNow;
|
||||
|
||||
|
||||
Reference in new issue
Block a user