promiscuity/microservices/LocationsApi/Models/BiomeObjectSpawnRule.cs
Zeeshaun 8ce6a05710
All checks were successful
Deploy Promiscuity Auth API / deploy (push) Successful in 45s
Deploy Promiscuity Character API / deploy (push) Successful in 57s
Deploy Promiscuity Inventory API / deploy (push) Successful in 45s
Deploy Promiscuity Locations API / deploy (push) Successful in 58s
k8s smoke test / test (push) Successful in 8s
Keeping logic within microservice boundaries
2026-03-20 09:11:44 -05:00

31 lines
736 B
C#

using MongoDB.Bson.Serialization.Attributes;
namespace LocationsApi.Models;
public class BiomeObjectSpawnRule
{
[BsonElement("resultType")]
public string ResultType { get; set; } = "none";
[BsonElement("itemKey")]
[BsonIgnoreIfNull]
public string? ItemKey { get; set; }
[BsonElement("objectKey")]
[BsonIgnoreIfNull]
public string? ObjectKey { get; set; }
[BsonElement("displayName")]
[BsonIgnoreIfNull]
public string? DisplayName { get; set; }
[BsonElement("remainingQuantity")]
public int RemainingQuantity { get; set; }
[BsonElement("gatherQuantity")]
public int GatherQuantity { get; set; } = 1;
[BsonElement("weight")]
public double Weight { get; set; }
}