package org.jeecg.modules.system.app.entity;

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

@Data
@TableName("nm_kongfu_zone")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@Schema(description="nm_kongfu_zone")
public class AppKongfuZone {
    /**主键id*/
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description = "主键id")
    private String id;
    /**名称*/
    @Excel(name = "名称", width = 15)
    @Schema(description = "名称")
    private String name;
    /**图标URL*/
    @Excel(name = "图标URL", width = 15)
    @Schema(description = "图标URL")
    private String iconUrl;
    /**跳转路由*/
    @Excel(name = "跳转路由", width = 15)
    @Schema(description = "跳转路由")
    private String route;
    /**金刚区显示顺序*/
    @Excel(name = "金刚区显示顺序", width = 15)
    @Schema(description = "金刚区显示顺序")
    private Integer orderNumber;
    /**是否展示，1表示展示，0表示不展示*/
    @Excel(name = "是否展示，1表示展示，0表示不展示", width = 15)
    @Schema(description = "是否展示，1表示展示，0表示不展示")
    private String izShow;
    /**创建时间*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "创建时间")
    private java.util.Date createTime;
    /**修改人*/
    @Schema(description = "修改人")
    private String updateBy;
    /**修改时间*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "修改时间")
    private java.util.Date updateTime;
    /**删除状态(0-正常,1-已删除)*/
    @Excel(name = "删除状态(0-正常,1-已删除)", width = 15)
    @Schema(description = "删除状态(0-正常,1-已删除)")
    @TableLogic
    private Integer delFlag;
    @Excel(name = "角色权限", width = 15)
    @Schema(description = "角色权限")
    private String roleCode;
}
