FPermissionCfg.java 2.3 KB
package com.skua.modules.permission.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * 报表-权限配置
 */
@Data
@TableName("f_permission_cfg")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="f_permission_cfg对象", description="报表-权限配置")
public class FPermissionCfg {

	/**主键id*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "主键id")
	private java.lang.String id;
	/**授权类别(1用户,2角色,3岗位,4部门)*/
	@Excel(name = "授权类别(1用户,2角色,3岗位,4部门)", width = 15)
    @ApiModelProperty(value = "授权类别(1用户,2角色,3岗位,4部门)")
	private java.lang.Integer perType;
	/**被授权id*/
	@Excel(name = "被授权id", width = 15)
    @ApiModelProperty(value = "被授权id")
	private java.lang.String authedId;
	/**报表id*/
	@Excel(name = "报表id", width = 15)
    @ApiModelProperty(value = "报表id")
	private java.lang.String reportId;
	/**状态(1启用0停用)*/
	@Excel(name = "状态(1启用0停用)", width = 15)
    @ApiModelProperty(value = "状态(1启用0停用)")
	private java.lang.Integer status;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
	private java.lang.String remark;
	/**扩展字段1*/
	@Excel(name = "扩展字段1", width = 15)
    @ApiModelProperty(value = "扩展字段1")
	private java.lang.String column1;
	/**扩展字段2*/
	@Excel(name = "扩展字段2", width = 15)
    @ApiModelProperty(value = "扩展字段2")
	private java.lang.String column2;
	/**创建人员*/
    @ApiModelProperty(value = "创建人员")
	private java.lang.String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
	private java.util.Date createTime;
}