package com.zy.system.entity;
|
|
import com.core.common.Cools;import com.baomidou.mybatisplus.annotations.TableId;
|
import com.baomidou.mybatisplus.enums.IdType;
|
import com.baomidou.mybatisplus.annotations.TableField;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
import com.baomidou.mybatisplus.annotations.TableName;
|
import java.io.Serializable;
|
|
@Data
|
@TableName("sys_role_pda_resource")
|
public class RolePdaResource implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
@ApiModelProperty(value= "")
|
@TableId(value = "id", type = IdType.AUTO)
|
private Long id;
|
|
@ApiModelProperty(value= "")
|
@TableField("role_id")
|
private Long roleId;
|
|
@ApiModelProperty(value= "")
|
@TableField("resource_id")
|
private Long resourceId;
|
|
public RolePdaResource() {}
|
|
public RolePdaResource(Long roleId,Long resourceId) {
|
this.roleId = roleId;
|
this.resourceId = resourceId;
|
}
|
|
// RolePdaResource rolePdaResource = new RolePdaResource(
|
// null, // [非空]
|
// null // [非空]
|
// );
|
|
|
}
|