Projektdateien hinzufügen.

This commit is contained in:
Webtree-design
2025-07-21 20:17:52 +02:00
parent b5367c704f
commit 16d38a8f39
44 changed files with 4613 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
using System;
using System.ComponentModel.DataAnnotations;
namespace Webshop.Domain.Entities;
/// <summary>
/// Konfigurierbare Zahlungsoptionen für den Checkout.
/// </summary>
public class PaymentMethod
{
[Key]
public Guid Id { get; set; }
[Required]
[MaxLength(100)]
public string Name { get; set; }
[MaxLength(500)]
public string? Description { get; set; }
[Required]
public bool IsActive { get; set; }
[Required]
[MaxLength(50)]
public string PaymentGatewayType { get; set; } // "Stripe", "PayPal", etc.
public decimal? ProcessingFee { get; set; }
}