blob: eada16eaf486eedb5f6e13ddfb58f51ee41fbac4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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<TProductImage> Images { get; set; }
public int Count { get; set; }
public class TProductImage
{
public string FileName { get; set; }
public int Order { get; set; }
}
}
|