27 lines
879 B
C#
27 lines
879 B
C#
using MongoDB.Bson;
|
|
using MongoDB.Bson.Serialization.Attributes;
|
|
|
|
namespace GameServer;
|
|
|
|
|
|
public class BeaconShopMongoDoc
|
|
{
|
|
[BsonId]
|
|
[BsonRepresentation(BsonType.ObjectId)]
|
|
public string Id { get; set; } = null!;
|
|
public string ItemGuid { get; set; } = null!;
|
|
public int TagId { get; set; } = 0;
|
|
public string BeaconGuid { get; set; } = null!;
|
|
public string BeaconNickName { get; set; } = null!;
|
|
public string BeaconTitle { get; set; } = string.Empty;
|
|
public int BeaconBodyItemMetaId { get; set; } = 0;
|
|
public double PriceForUnit { get; set; } = 0;
|
|
public int Amount { get; set; } = 0;
|
|
public string OwnerGuid { get; set; } = null!;
|
|
public string OwnerNickName { get; set; } = null!;
|
|
public string BeaconMyHomeGuid { get; set; } = null!;
|
|
[BsonRequired]
|
|
public DateTime SellingFinishTime { get; set; } = new();
|
|
}
|
|
|