BCards/src/BCards.Web/Models/ModerationHistory.cs
Ricardo Carneiro 3d2ce1f8cf
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
fix: Increase session timeout to 7 days and set SameSite=None for Cloudflare compatibility
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-18 12:32:42 -03:00

25 lines
674 B
C#

using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
namespace BCards.Web.Models;
public class ModerationHistory
{
[BsonElement("attempt")]
public int Attempt { get; set; }
[BsonElement("status")]
public string Status { get; set; } = "pending"; // "pending", "approved", "rejected"
[BsonElement("reason")]
public string? Reason { get; set; }
[BsonElement("moderatorId")]
public string? ModeratorId { get; set; }
[BsonElement("date")]
public DateTime Date { get; set; } = DateTime.UtcNow;
[BsonElement("issues")]
public List<string> Issues { get; set; } = new();
}