///<summary>
/// 名    称 :[授权信息]实体基础
/// 创 建 人 :yangxiao
/// 创建时间 :  2023/1/3 10:21:42
/// 描    述 
/// </summary>
namespace  BPA.MES.Base.Application
{
    /// <summary>
    /// [授权信息]入参基础
    /// </summary>
    public class AuthorizeInput
    {
        /// <summary>
        /// 关键字
        /// </summary>
        public string Keyword { get; set; }
        /// <summary>
        /// 模板Id
        /// </summary>
        public string TemplateId { get; set; }
        /// <summary>
        /// 授权类型 1:用户，2:角色
        /// </summary>
        public int Type { get; set; }
        /// <summary>
        /// 授权对象
        /// </summary>
        public List<string>? ObjectIds { get; set; }
    }
    /// <summary>
    /// [授权信息]添加入参
    /// </summary>
    public class AuthorizeAddInput : AuthorizeInput
    {

    }
    /// <summary>
    /// [授权信息]角色授权入参
    /// </summary>
    public class AuthorMapAddInput
    {
        /// <summary>
        /// 模板编号
        /// </summary>
        public List<string> TemplateIds { get; set; }
        /// <summary>
        /// 授权类型 1用户 2角色
        /// </summary>

        public int AuthorizeType { get; set; }
        /// <summary>
        /// 授权对象
        /// </summary>
        public string ObjectId { get; set; }
    }
    /// <summary>
    /// [授权信息]修改入参
    /// </summary>
    public class AuthorizeUpdateInput : AuthorizeInput
    {
        /// <summary>
        /// 主键
        /// </summary>
        public string? Id { get; set; }
    }
    /// <summary>
    /// [授权信息]删除入参
    /// </summary>
    public class AuthorizeDelInput
    {
        /// <summary>
        /// 主键
        /// </summary>
        public string? Id { get; set; }
    }
    /// <summary>
    /// [授权信息]普通查询入参
    /// </summary>
    public class AuthorizeQueryInput
    {
        /// <summary>
        /// 主键
        /// </summary>
        public string? Id { get; set; }
    }
    /// <summary>
    /// [授权信息]分页查询入参
    /// </summary>
    public class AuthorizeQueryPageInput : RequestPage
    {
        /// <summary>
        /// 主键
        /// </summary>
        public string? Id { get; set; }
    }
}