package com.easyproject.service.domain.guide;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.easyproject.common.annotation.Excel;
import com.easyproject.common.core.domain.BaseEntity;

/**
 * 指南栏目对象 service_guide_item
 *
 * @author easyproject
 * @date 2025-03-21
 */
@Data
@TableName(value = "service_guide_item")
public class ServiceGuideItem extends BaseEntity {

    /**
     * ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 所属分类ID
     */
    @Excel(name = "所属分类ID")
    private Long categoryId;

    /**
     * 栏目内容
     */
    @Excel(name = "栏目内容")
    private String itemContent;

    /**
     * 排序（升序）
     */
    @Excel(name = "排序", readConverterExp = "升=序")
    private Integer sort;

    /**
     * 状态（1：启用、2：停用）
     */
    @Excel(name = "状态", readConverterExp = "1=：启用、2：停用")
    private Integer status;



    /**
     * 所属分类名称
     */
    @TableField(exist = false)
    private String categoryName;

}
