37 lines
1.6 KiB
C#
37 lines
1.6 KiB
C#
namespace Netina.Domain.Dtos.LargDtos;
|
|
|
|
public class ProductLDto : BaseDto<ProductLDto,Product>
|
|
{
|
|
public string PersianName { get; set; } = string.Empty;
|
|
public string EnglishName { get; set; } = string.Empty;
|
|
public string Summery { get; set; } = string.Empty;
|
|
public string ExpertCheck { get; set; } = string.Empty;
|
|
public string Tags { get; set; } = string.Empty;
|
|
public string Slug { get; set; } = string.Empty;
|
|
public string Warranty { get; set; } = string.Empty;
|
|
public double CostWithDiscount { get; set; }
|
|
public double DiscountPercent { get; set; }
|
|
public bool BeDisplayed { get; set; }
|
|
public bool IsSpecial { get; set; }
|
|
public bool HasDiscount { get; set; }
|
|
public bool HasExpressDelivery { get; set; }
|
|
public double Cost { get; set; }
|
|
public double PackingCost { get; set; }
|
|
public int MaxOrderCount { get; set; }
|
|
public int Stock { get; set; }
|
|
public float Rate { get; set; }
|
|
public int CommentCount { get; set; }
|
|
public Guid BrandId { get; set; }
|
|
public string BrandName { get; set; } = string.Empty;
|
|
public Guid CategoryId { get; set; }
|
|
public string CategoryName { get; set; } = string.Empty;
|
|
public string MainImage { get; set; } = string.Empty;
|
|
public bool IsSpecialOffer { get; set; }
|
|
|
|
public List<SpecificationSDto> Specifications { get; set; } = new();
|
|
public List<StorageFileSDto> Files { get; set; } = new();
|
|
|
|
public DiscountSDto? SpecialOffer { get; set; }
|
|
public Guid AuthorId { get; set; }
|
|
public string AuthorFullName { get; set; } = string.Empty;
|
|
} |