From 9383a2fb09ffb60cfe63683106945bd688affa59 Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Wed, 1 Jun 2022 21:13:43 +0200 Subject: feat: Initial commit after clean slate --- src/Data/Payloads/CreateProductDto.cs | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/Data/Payloads/CreateProductDto.cs (limited to 'src/Data/Payloads/CreateProductDto.cs') diff --git a/src/Data/Payloads/CreateProductDto.cs b/src/Data/Payloads/CreateProductDto.cs new file mode 100644 index 0000000..eada16e --- /dev/null +++ b/src/Data/Payloads/CreateProductDto.cs @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using VSH.Data.Enums; + +namespace VSH.Data.Payloads; + +public class CreateProductDto +{ + public string Name { get; set; } + public string Description { get; set; } + public double Price { get; set; } + public PriceSuffix PriceSuffix { get; set; } + public Guid CategoryId { get; set; } + public List Images { get; set; } + public int Count { get; set; } + + public class TProductImage + { + public string FileName { get; set; } + public int Order { get; set; } + } +} \ No newline at end of file -- cgit v1.3