package com.dcs.hnyz.domain;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.dcs.common.annotation.Excel;
import com.dcs.common.core.domain.BaseEntity;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 页面管理对象 page_control
 *
 * @author hmy
 * @date 2025-07-25
 */

@Data
@TableName("page_control")
@ApiModel
public class PageControl extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 页面id
     */
    @ApiModelProperty(value = "页面id")
    @TableId(value = "page_id", type = IdType.AUTO)
    private Long pageId;

    /**
     * 页面名
     */
    @Excel(name = "页面名")
    @TableField(value = "page_name")
    @ApiModelProperty(value = "页面名")
    private String pageName;

    /**
     * 页面编码
     */
    @Excel(name = "页面编码")
    @TableField(value = "page_code")
    @ApiModelProperty(value = "页面编码")
    private String pageCode;

    /**
     * 页面路径
     */
    @Excel(name = "页面路径")
    @TableField(value = "page_url")
    @ApiModelProperty(value = "页面路径")
    private String pageUrl;

    /**
     * 启用状态（0-启用,1-禁用）
     */
    @Excel(name = "启用状态", readConverterExp = "0=-启用,1-禁用")
    @TableField(value = "status")
    @ApiModelProperty(value = "启用状态（0-启用,1-禁用）")
    private String status;

    /**
     * 删除标志（0-存在,2-删除）
     */
    @TableLogic
    @ApiModelProperty(value = "删除标志（0-存在，2-删除）")
    private String delFlag;


}
