old_flsystem/应用/Activity/Config.cs

40 lines
1.3 KiB
C#
Raw Normal View History

2022-09-20 03:10:29 +00:00
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.;
}
}
}