15 lines
339 B
C#
15 lines
339 B
C#
using Microsoft.AspNetCore.Identity;
|
|
using MongoDB.Bson;
|
|
using MongoDB.Bson.Serialization.Attributes;
|
|
|
|
namespace QrScanner.Models;
|
|
|
|
[BsonIgnoreExtraElements]
|
|
public class QrCode
|
|
{
|
|
[BsonId]
|
|
public ObjectId _id { get; set; }
|
|
public string? id { get; set; }
|
|
// public DateTime timestamp { get; set; }
|
|
public string? data { get; set; }
|
|
}
|