package com.zhgd.xmgl.modules.basicdata.entity;

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

import java.io.Serializable;

/**
 * @Description: 系统资源-功能操作
 * @author： pds
 * @date： 2020-10-27
 * @version： V1.0
 */
@Data
@TableName("base_action")
@ApiModel(value = "BaseAction实体类", description = "BaseAction")
public class BaseAction implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 资源ID
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "资源ID(主键ID)")
    private Long actionId;
    /**
     * 资源编码
     */
    @Excel(name = "资源编码", width = 15)
    @ApiModelProperty(value = "资源编码")
    private String actionCode;
    /**
     * 资源名称
     */
    @Excel(name = "资源名称", width = 15)
    @ApiModelProperty(value = "资源名称")
    private String actionName;
    /**
     * 资源描述
     */
    @Excel(name = "资源描述", width = 15)
    @ApiModelProperty(value = "资源描述")
    private String actionDesc;
    /**
     * 资源父节点(所属菜单)
     */
    @Excel(name = "资源父节点(所属菜单)", width = 15)

    @ApiModelProperty(value = "资源父节点(所属菜单)")
    private Long menuId;
    /**
     * 优先级 越小越靠前
     */
    @Excel(name = "优先级 越小越靠前", width = 15)
    @ApiModelProperty(value = "优先级 越小越靠前")
    private Integer priority;
    /**
     * 状态:0-无效 1-有效
     */
    @Excel(name = "状态:0-无效 1-有效", width = 15)
    @ApiModelProperty(value = "状态:0-无效 1-有效")
    private Integer status;
    /**
     * createTime
     */
    @Excel(name = "createTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "createTime")
    private java.util.Date createTime;
    /**
     * updateTime
     */
    @Excel(name = "updateTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "updateTime")
    private java.util.Date updateTime;
}
