17 lines
522 B
C#
17 lines
522 B
C#
using MongoDB.Bson;
|
|
using MongoDB.Bson.Serialization.Attributes;
|
|
|
|
namespace Marco.Pms.Model.MongoDBModels
|
|
{
|
|
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;
|
|
}
|
|
}
|