namespace Admin.NET.Core.Service;

public class ConfigInput : BaseIdInput
{
}

/// <summary>
/// 参数配置分页
/// </summary>
public class PageConfigInput : BasePageInput
{
    /// <summary>
    /// 名称
    /// </summary>
    public string Name { get; set; }

    /// <summary>
    /// 编码
    /// </summary>
    public string Code { get; set; }
}

public class AddConfigInput
{
    /// <summary>
    /// 名称
    /// </summary>
    public string Name { get; set; }

    /// <summary>
    /// 编码
    /// </summary>
    public string Code { get; set; }

    /// <summary>
    /// 属性值
    /// </summary>
    public string Value { get; set; }

    /// <summary>
    /// 是否是系统参数（Y-是，N-否）
    /// </summary>
    public int SysFlag { get; set; }

    /// <summary>
    /// 常量所属分类的编码
    /// </summary>
    public string GroupCode { get; set; }

    /// <summary>
    /// 排序
    /// </summary>
    public int Order { get; set; }

    /// <summary>
    /// 备注
    /// </summary>
    public string Remark { get; set; }

    /// <summary>
    /// 状态
    /// </summary>
    public int Status { get; set; }
}

public class DeleteConfigInput : BaseIdInput
{
}

public class UpdateConfigInput : BaseIdInput
{
    /// <summary>
    /// 名称
    /// </summary>
    public string Name { get; set; }

    /// <summary>
    /// 编码
    /// </summary>
    public string Code { get; set; }

    /// <summary>
    /// 属性值
    /// </summary>
    public string Value { get; set; }

    /// <summary>
    /// 是否是系统参数（Y-是，N-否）
    /// </summary>
    public int SysFlag { get; set; }

    /// <summary>
    /// 常量所属分类的编码
    /// </summary>
    public string GroupCode { get; set; }

    /// <summary>
    /// 排序
    /// </summary>
    public int Order { get; set; }

    /// <summary>
    /// 备注
    /// </summary>
    public string Remark { get; set; }

    /// <summary>
    /// 状态
    /// </summary>
    public int Status { get; set; }
}