17 lines
559 B
C#
17 lines
559 B
C#
using MongoDB.Bson;
|
|
using MongoDB.Bson.Serialization.Attributes;
|
|
|
|
namespace Marco.Pms.Model.MongoDBModels
|
|
{
|
|
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<string>? Receivers { get; set; }
|
|
public bool IsSent { get; set; } = false;
|
|
}
|
|
}
|