18 lines
No EOL
929 B
C#
18 lines
No EOL
929 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Wonky.Entity.DTO;
|
|
|
|
public class KrvProductCreateDto
|
|
{
|
|
[Required] public KrvProductTexts ProductTexts { get; set; } = new();
|
|
[Required] public KrvWasteTexts WasteTexts { get; set; } = new();
|
|
[Required] [MaxLength(128)] public string MaskVariantId { get; set; } = "";
|
|
[Required] [MaxLength(128)] public string GogglesVariantId { get; set; } = "";
|
|
[Required] [MaxLength(128)] public string GlovesVariantId { get; set; } = "";
|
|
[Required] [MaxLength(50)] public string ProductCategoryEnum { get; set; } = "";
|
|
public KrvKapvJsonTexts KapvTexts { get; set; } = new();
|
|
[MaxLength(255)] public string PictureLink { get; set; } = "";
|
|
[MaxLength(255)] public string InstructionLink { get; set; } = "";
|
|
[MaxLength(255)] public string InformationLink { get; set; } = "";
|
|
[MaxLength(255)] public string PropertiesLink { get; set; } = "";
|
|
} |