using MongoDB.Bson; using MongoDB.Bson.Serialization.Attributes; namespace Marco.Pms.Model.MongoDBModels.Utility { public class ProjectReportEmailMongoDB { [BsonId] // Tells MongoDB this is the primary key (_id) [BsonRepresentation(BsonType.ObjectId)] // Optional: if your _id is ObjectId public string Id { get; set; } = string.Empty; public string? Body { get; set; } public string? Subject { get; set; } public List? Receivers { get; set; } public bool IsSent { get; set; } = false; } }