package com.dcs.hnyz.domain;

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;


import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.IdType;

/**
 * 模板页管理对象 template_page
 *
 * @author hmy
 * @date 2025-04-30
 */

@Data
@TableName("template_page")
@ApiModel
public class TemplatePage extends BaseEntity {

    private static final long serialVersionUID = 1L;

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

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

    /**
     * 网页路径
     */
    @Excel(name = "网页路径")
    @ApiModelProperty(value = "网页路径")
    private String url;

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


}
