25 lines
422 B
C#
25 lines
422 B
C#
using ET;
|
|
using MongoDB.Bson.Serialization.Attributes;
|
|
|
|
namespace Cal.DataTable
|
|
{
|
|
[Config]
|
|
public partial class FamilyShopCategory : ACategory<FamilyShop>
|
|
{
|
|
public static FamilyShopCategory Instance;
|
|
public FamilyShopCategory()
|
|
{
|
|
Instance = this;
|
|
}
|
|
}
|
|
|
|
public partial class FamilyShop:IConfig
|
|
{
|
|
[BsonId]
|
|
public long Id { get; set; }
|
|
public int ItemType;
|
|
public int ItemId;
|
|
public int Price;
|
|
}
|
|
}
|