Wonky.Client/Wonky.Entity/DTO/BucketDto.cs
Frede Hundewadt 4701783329 FIX: dlvAddress block closing when changing input field.
FIX: deleteDraft and deleteItem on ActivityCreage page did not trigger correct
2023-05-30 15:28:51 +02:00

32 lines
No EOL
1.1 KiB
C#

using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace Wonky.Entity.DTO;
public class BucketDto
{
[Required] public string EyeCleanerLocation { get; set; } = "";
[Required]public string FirstAidLocation { get; set; } = "";
[Required]public string GlovesStorage { get; set; } = "";
[Required]public string GogglesStorage { get; set; } = "";
[Required]public string MaskStorage { get; set; } = "";
[Required]public string ProductStorage { get; set; } = "";
[Required]public string WasteDeposit { get; set; } = "";
[Required]public string AuthoredBy { get; set; } = "";
[Required]public string ApprovedBy { get; set; } = "";
[Required]public string ApprovedDate { get; set; } = "";
[Required]public string FollowupDate { get; set; } = "";
public List<ProductVariant> ProductVariants { get; set; } = new();
}
public class ProductVariant
{
[Required] public string VariantId { get; set; } = "";
public string S5A { get; set; } = "";
public string S9A { get; set; } = "";
// Sweden
// yearly consumption and product exposure
// public string S11A { get; set; } = "";
}