You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
| 123456789101112131415 |
- using MongoDB.Bson;
- using MongoDB.Bson.Serialization.Attributes;
-
- namespace Diligent.WebAPI.Data.Entities
- {
- public class BaseMongo
- {
- [BsonId]
- [BsonRepresentation(BsonType.ObjectId)]
- public string Id { get; set; }
- public DateTime CreatedAtUtc { get; set; } = DateTime.UtcNow;
- public DateTime? UpdatedAtUtc { get; set; }
- public DateTime? DeletedAtUtc { get; set; }
- }
- }
|