17 lines
438 B
C#
17 lines
438 B
C#
using MongoDB.Bson;
|
|
using MongoDB.Bson.Serialization.Attributes;
|
|
|
|
namespace LocationsApi.Models;
|
|
|
|
public class GameSetting
|
|
{
|
|
[BsonId]
|
|
[BsonRepresentation(BsonType.ObjectId)]
|
|
public string Id { get; set; } = "";
|
|
|
|
public string Key { get; set; } = "";
|
|
public int IntValue { get; set; }
|
|
public DateTime CreatedAtUtc { get; set; } = DateTime.UtcNow;
|
|
public DateTime UpdatedAtUtc { get; set; } = DateTime.UtcNow;
|
|
}
|