28 lines
500 B
C#
28 lines
500 B
C#
using ET;
|
|
using MongoDB.Bson.Serialization.Attributes;
|
|
|
|
namespace Cal.DataTable
|
|
{
|
|
[Config]
|
|
public partial class MarketBaseCategory : ACategory<MarketBase>
|
|
{
|
|
public static MarketBaseCategory Instance;
|
|
public MarketBaseCategory()
|
|
{
|
|
Instance = this;
|
|
}
|
|
}
|
|
|
|
public partial class MarketBase:IConfig
|
|
{
|
|
[BsonId]
|
|
public long Id { get; set; }
|
|
public byte Period;
|
|
public byte ItemType;
|
|
public byte Page;
|
|
public int ItemId;
|
|
public bool OnlyYuanBao;
|
|
public int Price_YuanBao;
|
|
}
|
|
}
|