using System.ComponentModel.DataAnnotations; namespace LittleShop.DTOs; public class VariantCollectionDto { public Guid Id { get; set; } public string Name { get; set; } = string.Empty; public string PropertiesJson { get; set; } = "[]"; public bool IsActive { get; set; } public DateTime CreatedAt { get; set; } public DateTime UpdatedAt { get; set; } } public class CreateVariantCollectionDto { [Required] [StringLength(100)] public string Name { get; set; } = string.Empty; public string PropertiesJson { get; set; } = "[]"; } public class UpdateVariantCollectionDto { [StringLength(100)] public string? Name { get; set; } public string? PropertiesJson { get; set; } public bool? IsActive { get; set; } }