|
| 1 | +using FinTrackForWindows.Enums; |
| 2 | + |
| 3 | +namespace FinTrackForWindows.Dtos.MembershipDtos |
| 4 | +{ |
| 5 | + public class PlanFeatureDto |
| 6 | + { |
| 7 | + public int Id { get; set; } |
| 8 | + public string Name { get; set; } = null!; |
| 9 | + public string Description { get; set; } = null!; |
| 10 | + public decimal Price { get; set; } |
| 11 | + public BaseCurrencyType? Currency { get; set; } |
| 12 | + public BillingCycleType? BillingCycle { get; set; } |
| 13 | + public int? DurationInDays { get; set; } |
| 14 | + public ReportingFeatures? Reporting { get; set; } |
| 15 | + public EmailingFeatures? Emailing { get; set; } |
| 16 | + public BudgetingFeatures? Budgeting { get; set; } |
| 17 | + public AccountFeatures? Accounts { get; set; } |
| 18 | + public bool IsActive { get; set; } = true; |
| 19 | + public DateTime CreatedAt { get; set; } |
| 20 | + public DateTime? UpdatedAt { get; set; } |
| 21 | + public bool PrioritySupport { get; set; } = false; |
| 22 | + } |
| 23 | + |
| 24 | + public class ReportingFeatures |
| 25 | + { |
| 26 | + public string Level { get; set; } = "Basic"; |
| 27 | + public bool CanExportPdf { get; set; } = false; |
| 28 | + public bool CanExportWord { get; set; } = false; |
| 29 | + public bool CanExportMarkdown { get; set; } = false; |
| 30 | + public bool CanExportXml { get; set; } = false; |
| 31 | + public bool CanExportText { get; set; } = false; |
| 32 | + public bool CanExportXlsx { get; set; } = false; |
| 33 | + } |
| 34 | + |
| 35 | + public class EmailingFeatures |
| 36 | + { |
| 37 | + public bool CanEmailReports { get; set; } = false; |
| 38 | + public int MaxEmailsPerMonth { get; set; } = 0; |
| 39 | + } |
| 40 | + |
| 41 | + public class BudgetingFeatures |
| 42 | + { |
| 43 | + public bool CanCreateBudgets { get; set; } = false; |
| 44 | + public int MaxBudgets { get; set; } = 0; |
| 45 | + } |
| 46 | + |
| 47 | + public class AccountFeatures |
| 48 | + { |
| 49 | + public int MaxBankAccounts { get; set; } = 0; |
| 50 | + } |
| 51 | +} |
0 commit comments