29 lines
628 B
C#
29 lines
628 B
C#
|
using ET;
|
||
|
using MongoDB.Bson.Serialization.Attributes;
|
||
|
|
||
|
namespace Cal.DataTable
|
||
|
{
|
||
|
[Config]
|
||
|
public partial class TransmigrationAddConfigCategory : ACategory<TransmigrationAddConfig>
|
||
|
{
|
||
|
public static TransmigrationAddConfigCategory Instance;
|
||
|
public TransmigrationAddConfigCategory()
|
||
|
{
|
||
|
Instance = this;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public partial class TransmigrationAddConfig:IConfig
|
||
|
{
|
||
|
public partial class AddAttribute
|
||
|
{
|
||
|
public int Key;
|
||
|
[BsonRepresentation(MongoDB.Bson.BsonType.Double, AllowTruncation = true)]
|
||
|
public float Value;
|
||
|
}
|
||
|
[BsonId]
|
||
|
public long Id { get; set; }
|
||
|
public AddAttribute[] AddAttributeArr;
|
||
|
}
|
||
|
}
|