17 lines
337 B
C#
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; }
|
|
}
|