Files
ShopSolution-backend/Webshop.Application/DTOs/DiscountDto.cs
Tizian.Breuch ce69373adb try
2025-07-23 21:08:30 +02:00

25 lines
723 B
C#

// Auto-generiert von CreateWebshopFiles.ps1
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Webshop.Application.DTOs
{
public class DiscountDto
{
public Guid Id { get; set; }
public string Name { get; set; } = string.Empty;
public DiscountType Type { get; set; }
public decimal Value { get; set; }
public string? CouponCode { get; set; }
public DateTimeOffset StartDate { get; set; }
public DateTimeOffset EndDate { get; set; }
public bool IsActive { get; set; }
public int? MaxUses { get; set; }
public int CurrentUses { get; set; }
public string? Description { get; set; }
}
}