| | |
| | | import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.AllArgsConstructor; |
| | | import lombok.Data; |
| | | import lombok.NoArgsConstructor; |
| | | |
| | | import java.io.Serializable; |
| | | |
| | |
| | | * @author Chill |
| | | */ |
| | | @Data |
| | | @TableName("blade_role") |
| | | @NoArgsConstructor |
| | | @TableName("pl_org_role") |
| | | @ApiModel(value = "Role对象", description = "Role对象") |
| | | public class Role implements Serializable { |
| | | |
| | |
| | | @ApiModelProperty(value = "是否已删除") |
| | | private Integer isDeleted; |
| | | |
| | | public Role(String tenantId, Long parentId, String roleName, Integer sort, String roleAlias, Integer isDeleted) { |
| | | this.tenantId = tenantId; |
| | | this.parentId = parentId; |
| | | this.roleName = roleName; |
| | | this.sort = sort; |
| | | this.roleAlias = roleAlias; |
| | | this.isDeleted = isDeleted; |
| | | } |
| | | |
| | | } |