Skip to content
Snippets Groups Projects
Commit 72c042f2 authored by Nikoline Vistoft Bartholin's avatar Nikoline Vistoft Bartholin
Browse files

Merge branch 'main' of https://gitlab.au.dk/bad1/assignment2

parents 40eda79b ce32a0b6
No related branches found
No related tags found
No related merge requests found
......@@ -2,19 +2,20 @@ using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using MongoDB.Bson.Serialization.Attributes;
namespace assignment2.Models
{
public class LogInfo
{
//[BsonElement("api_user")]
[BsonElement("User")]
public string User { get; set; } = string.Empty;
//[BsonElement("operation")]
[BsonElement("Operation")]
public string Operation { get; set; } = string.Empty;
//[BsonElement("UtcTimeStamp")]
[BsonElement("TimeStamp")]
public DateTime Timestamp { get; set; } = DateTime.UtcNow;
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment