2021-04-08 20:09:59 +08:00
|
|
|
using ET;
|
|
|
|
using MongoDB.Bson.Serialization.Attributes;
|
|
|
|
|
|
|
|
namespace Cal.DataTable
|
|
|
|
{
|
|
|
|
[Config]
|
|
|
|
public partial class ParentsetCategory : ACategory<Parentset>
|
|
|
|
{
|
|
|
|
public static ParentsetCategory Instance;
|
|
|
|
public ParentsetCategory()
|
|
|
|
{
|
|
|
|
Instance = this;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
public partial class Parentset:IConfig
|
|
|
|
{
|
|
|
|
public partial class Subset
|
|
|
|
{
|
|
|
|
public int _Id;
|
2021-08-06 15:04:29 +08:00
|
|
|
public int Weight;
|
2021-04-08 20:09:59 +08:00
|
|
|
}
|
|
|
|
[BsonId]
|
|
|
|
public long Id { get; set; }
|
2021-08-06 15:04:29 +08:00
|
|
|
public byte Type;
|
2021-04-08 20:09:59 +08:00
|
|
|
public Subset[] SubsetArr;
|
|
|
|
}
|
|
|
|
}
|