All checks were successful
BCards Deployment Pipeline / Run Tests (push) Successful in 4s
BCards Deployment Pipeline / PR Validation (push) Has been skipped
BCards Deployment Pipeline / Build and Push Image (push) Successful in 15m22s
BCards Deployment Pipeline / Deploy to Production (ARM - OCI) (push) Successful in 1m54s
BCards Deployment Pipeline / Deploy to Test (x86 - Local) (push) Has been skipped
BCards Deployment Pipeline / Cleanup Old Resources (push) Has been skipped
BCards Deployment Pipeline / Deployment Summary (push) Successful in 0s
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
46 lines
1.4 KiB
C#
46 lines
1.4 KiB
C#
using MongoDB.Bson.Serialization.Attributes;
|
|
|
|
namespace BCards.Web.Models;
|
|
|
|
public class PlanLimitations
|
|
{
|
|
[BsonElement("maxLinks")]
|
|
public int MaxLinks { get; set; } = 5;
|
|
|
|
[BsonElement("allowCustomThemes")]
|
|
public bool AllowCustomThemes { get; set; } = false;
|
|
|
|
[BsonElement("allowAnalytics")]
|
|
public bool AllowAnalytics { get; set; } = false;
|
|
|
|
[BsonElement("allowCustomDomain")]
|
|
public bool AllowCustomDomain { get; set; } = false;
|
|
|
|
[BsonElement("allowMultipleDomains")]
|
|
public bool AllowMultipleDomains { get; set; } = false;
|
|
|
|
[BsonElement("prioritySupport")]
|
|
public bool PrioritySupport { get; set; } = false;
|
|
|
|
[BsonElement("planType")]
|
|
public string PlanType { get; set; } = "free";
|
|
|
|
// Novos campos para Links de Produto
|
|
[BsonElement("maxProductLinks")]
|
|
public int MaxProductLinks { get; set; } = 0;
|
|
|
|
[BsonElement("maxOGExtractionsPerDay")]
|
|
public int MaxOGExtractionsPerDay { get; set; } = 0;
|
|
|
|
[BsonElement("allowProductLinks")]
|
|
public bool AllowProductLinks { get; set; } = false;
|
|
|
|
[BsonElement("specialModeration")]
|
|
public bool? SpecialModeration { get; set; } = false;
|
|
|
|
[BsonElement("ogExtractionsUsedToday")]
|
|
public int OGExtractionsUsedToday { get; set; } = 0;
|
|
|
|
[BsonElement("lastExtractionDate")]
|
|
public DateTime? LastExtractionDate { get; set; }
|
|
} |