using System; using System.ComponentModel.DataAnnotations; namespace Webshop.Domain.Entities; /// /// Konfigurierbare Zahlungsoptionen für den Checkout. /// 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; } }