package com.ssm.manage.dto;


import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.ssm.manage.entity.RlMenuPower;
import com.ssm.manage.entity.RlRole;
import com.ssm.manage.page.BasePage;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import java.util.List;

/**
 * 权限(RlPower)查询类
 *
 * @author makejava
 * @since 2023-12-13 15:34:05
 */
@Data
@ApiModel(value = "权限Dto")
@JsonIgnoreProperties(ignoreUnknown = true)
public class RlPowerDto extends BasePage {
    /**
     * 权限编码
     */
    @Id
    @Column(name = "power_id")
    @ApiModelProperty(name = "powerId", value = "权限编码")
    private Integer powerId;
    /**
     * 权限名称
     */
    @Column(name = "power_name")
    @ApiModelProperty(name = "powerName", value = "权限名称")
    private String powerName;

    private Long staffId;
    private List<RlRole> rlRoles;
    private RlMenuPower rlMenuPower;
}
