40 lines
1.3 KiB
C#
40 lines
1.3 KiB
C#
using Api.Framework.Enums;
|
||
using Api.Framework.SDK;
|
||
using System;
|
||
using System.Collections.Generic;
|
||
using System.ComponentModel;
|
||
using System.Linq;
|
||
using System.Text;
|
||
using System.Threading.Tasks;
|
||
using UI.Framework.Entitys;
|
||
|
||
namespace Activity
|
||
{
|
||
[Config(Name = "插件-活动-配置")]
|
||
public class Config
|
||
{
|
||
|
||
// [
|
||
// Category("8)、兑换相关提示"), DisplayName("微信自动转账成功提示语"), DefaultValue(@"[昵称]
|
||
//订单已经处理
|
||
//已经转账成功"),
|
||
// Description(@"支持变量:[机器人账号]、[机器人昵称]、[账号]、[昵称]"),
|
||
// Editor(typeof(PropertyGridRichText), typeof(System.Drawing.Design.UITypeEditor))
|
||
// ]
|
||
// public string ExchangeTransmaticTip { get; set; }
|
||
|
||
[
|
||
Category("1)、抽奖活动设置"), DisplayName("抽奖开关"), DefaultValue(SwitchType.开启),
|
||
Description(@"支持变量:[机器人账号]、[机器人昵称]、[账号]、[昵称]"),
|
||
Editor(typeof(PropertyGridRichText), typeof(System.Drawing.Design.UITypeEditor))
|
||
]
|
||
public SwitchType ActivityOnOff { get; set; }
|
||
|
||
public Config()
|
||
{
|
||
this.ActivityOnOff = SwitchType.开启;
|
||
}
|
||
|
||
}
|
||
}
|