18 lines
463 B
C#
18 lines
463 B
C#
using MongoDB.Bson.Serialization.Attributes;
|
|
using MongoDB.Bson;
|
|
using YandexGameServer.Services;
|
|
|
|
namespace YandexGameServer.Models
|
|
{
|
|
[Serializable]
|
|
public class CityUniqueCode
|
|
{
|
|
[BsonId, BsonRepresentation(BsonType.ObjectId)]
|
|
public string id { get; set; }
|
|
public Cities cityEnum { get; set; }
|
|
public string city { get; set; }
|
|
public int key { get; set; }
|
|
public int adminKey { get; set; }
|
|
}
|
|
}
|