using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;

namespace Marco.Pms.Model.MongoDBModels.Utility
{
    public class UpdateLogsObject
    {
        [BsonId]
        [BsonRepresentation(BsonType.String)]
        public Guid Id { get; set; } = Guid.NewGuid();
        public string EntityId { get; set; } = string.Empty;
        public BsonDocument? OldObject { get; set; }
        public string UpdatedById { get; set; } = string.Empty;
        public DateTime UpdatedAt { get; set; } = DateTime.UtcNow;
    }
}
