16 lines
373 B
C#
16 lines
373 B
C#
using MongoDB.Bson.Serialization.Attributes;
|
|
|
|
namespace LocationsApi.Models;
|
|
|
|
public class LocationObjectState
|
|
{
|
|
[BsonElement("itemKey")]
|
|
public string ItemKey { get; set; } = string.Empty;
|
|
|
|
[BsonElement("remainingQuantity")]
|
|
public int RemainingQuantity { get; set; }
|
|
|
|
[BsonElement("gatherQuantity")]
|
|
public int GatherQuantity { get; set; } = 1;
|
|
}
|