You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
1.1 KiB

12 months ago
using GDZZ.Core;
using System;
using System.ComponentModel.DataAnnotations;
namespace GDZZ.Application
{
/// <summary>
/// 业务配置输入参数
/// </summary>
public class ServiceConfigInput : PageInputBase
{
/// <summary>
/// 配置名称
/// </summary>
public virtual string Name { get; set; }
/// <summary>
/// 配置值
/// </summary>
public virtual string Value { get; set; }
}
public class AddServiceConfigInput : ServiceConfigInput
{
}
public class DeleteServiceConfigInput
{
/// <summary>
/// 主键Id
/// </summary>
[Required(ErrorMessage = "主键Id不能为空")]
public long Id { get; set; }
}
public class UpdateServiceConfigInput : ServiceConfigInput
{
/// <summary>
/// 主键Id
/// </summary>
[Required(ErrorMessage = "主键Id不能为空")]
public long Id { get; set; }
}
public class QueryeServiceConfigInput : DeleteServiceConfigInput
{
}
}