try
This commit is contained in:
24
Webshop.Application/DTOs/DiscountDto.cs
Normal file
24
Webshop.Application/DTOs/DiscountDto.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
// 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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user