Dons PayPal

This commit is contained in:
Paul Schneider 2026-11-02 10:40:29 +00:00
commit e3b4414ab1
Signed by: notazof
GPG key ID: AD4B9B545FBD7D12
45 changed files with 7476 additions and 9 deletions

View file

@ -1,3 +1,7 @@
#nullable enable
using System.ComponentModel.DataAnnotations;
namespace Yavsc.Abstract.Workflow;
public sealed class PerformerProfileSettings
@ -7,6 +11,9 @@ public sealed class PerformerProfileSettings
public string ExerciseCountryCode { get; set; } = "fr";
public string SIREN { get; set; } = string.Empty;
public string WebSite { get; set; } = string.Empty;
/// <summary>Owner-only PayPal recipient. Null preserves the existing setting; empty disables donations.</summary>
[MaxLength(127)]
public string? DonationPayPalEmail { get; set; }
public bool Active { get; set; }
public bool AcceptNotifications { get; set; }
public bool AcceptPublicContact { get; set; }