29 lines
481 B
C#
29 lines
481 B
C#
|
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;
|
||
|
public int Weight;
|
||
|
}
|
||
|
[BsonId]
|
||
|
public long Id { get; set; }
|
||
|
public byte Type;
|
||
|
public Subset[] SubsetArr;
|
||
|
}
|
||
|
}
|