25 lines
451 B
C#
25 lines
451 B
C#
using ET;
|
|
using MongoDB.Bson.Serialization.Attributes;
|
|
|
|
namespace Cal.DataTable
|
|
{
|
|
[Config]
|
|
public partial class ServerItemLimitCategory : ACategory<ServerItemLimit>
|
|
{
|
|
public static ServerItemLimitCategory Instance;
|
|
public ServerItemLimitCategory()
|
|
{
|
|
Instance = this;
|
|
}
|
|
}
|
|
|
|
public partial class ServerItemLimit:IConfig
|
|
{
|
|
[BsonId]
|
|
public long Id { get; set; }
|
|
public string Name;
|
|
public int MinCount;
|
|
public int MaxCount;
|
|
}
|
|
}
|