초기커밋
This commit is contained in:
26
GameServer/Contents/BeaconShop/MongoDb/BeaconShopMongoDoc.cs
Normal file
26
GameServer/Contents/BeaconShop/MongoDb/BeaconShopMongoDoc.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user