package com.matrix.system.common.bean;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.matrix.core.anotations.Extend;
|
|
import java.util.Date;
|
|
/**
|
* 功能按钮关系表
|
* @author JIANGYOUYAO
|
* @email 935090232@qq.com
|
* @date 2017年12月3日
|
*/
|
public class SysFnBtnRel {
|
|
@Extend
|
private static final long serialVersionUID = 1L;
|
|
private String createBy;
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone="GMT+8")
|
private Date createTime;
|
|
private String updateBy;
|
|
private Date updateTime;
|
|
|
/** 主键:这个关系表物理主键在修改比较中不参与比较 **/
|
@Extend
|
private Long fbId;
|
/** 功能id **/
|
private Long fnId;
|
/** 按钮value **/
|
private String btnValue;
|
/** 按钮value **/
|
private String btnKey;
|
/** 访问路径 **/
|
private String fbPath;
|
|
|
/**
|
* 在权限分配时用于标记是否拥有该项功能
|
*/
|
@Extend
|
private boolean hasThisBtn = false;
|
|
public boolean isHasThisBtn() {
|
return hasThisBtn;
|
}
|
|
public void setHasThisBtn(boolean hasThisBtn) {
|
this.hasThisBtn = hasThisBtn;
|
}
|
|
public Long getFbId() {
|
return fbId;
|
}
|
|
public void setFbId(Long fbId) {
|
this.fbId = fbId;
|
}
|
|
public Long getFnId() {
|
return fnId;
|
}
|
|
public void setFnId(Long fnId) {
|
this.fnId = fnId;
|
}
|
|
public String getBtnValue() {
|
return btnValue;
|
}
|
|
public void setBtnValue(String btnValue) {
|
this.btnValue = btnValue;
|
}
|
|
public String getFbPath() {
|
return fbPath;
|
}
|
|
public void setFbPath(String fbPath) {
|
this.fbPath = fbPath;
|
}
|
|
public String getBtnKey() {
|
return btnKey;
|
}
|
|
public void setBtnKey(String btnKey) {
|
this.btnKey = btnKey;
|
}
|
|
public String getCreateBy() {
|
return createBy;
|
}
|
|
public void setCreateBy(String createBy) {
|
this.createBy = createBy;
|
}
|
|
public Date getCreateTime() {
|
return createTime;
|
}
|
|
public void setCreateTime(Date createTime) {
|
this.createTime = createTime;
|
}
|
|
public String getUpdateBy() {
|
return updateBy;
|
}
|
|
public void setUpdateBy(String updateBy) {
|
this.updateBy = updateBy;
|
}
|
|
public Date getUpdateTime() {
|
return updateTime;
|
}
|
|
public void setUpdateTime(Date updateTime) {
|
this.updateTime = updateTime;
|
}
|
}
|