Files
gameauthapi/Models/Item.cs
T
2025-05-08 09:29:20 -05:00

17 lines
337 B
C#

using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
namespace GameAuthApi.Models;
public class Item
{
[BsonId]
[BsonRepresentation(BsonType.ObjectId)]
public string Id { get; set; }
[BsonRepresentation(BsonType.ObjectId)]
public string LocationId { get; set; }
public string Name { get; set; }
}