//
namespace SafeCampus.System;
///
/// 配置分页参数
///
public class ConfigPageInput : BasePageInput
{
}
///
/// 添加配置参数
///
public class ConfigAddInput : SysConfig
{
///
/// 配置键
///
[Required(ErrorMessage = "configKey不能为空")]
public override string ConfigKey { get; set; }
///
/// 配置值
///
[Required(ErrorMessage = "ConfigValue不能为空")]
public override string ConfigValue { get; set; }
}
///
/// 编辑配置参数
///
public class ConfigEditInput : ConfigAddInput
{
///
/// ID
///
[IdNotNull(ErrorMessage = "Id不能为空")]
public override long Id { get; set; }
}
///
/// 删除配置参数
///
public class ConfigDeleteInput : BaseIdInput
{
}
///
/// 批量修改输入参数
///
public class ConfigEditBatchInput
{
///
/// 分类
///
public string CateGory { get; set; }
public List DevConfigs { get; set; }
}