package com.fdkankan.ucenter.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2023-08-11
 */
@Getter
@Setter
@TableName("t_case")
public class Case implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 案例标题
     */
    @TableField("title")
    private String title;

    /**
     * 案例文案
     */
    @TableField("sub_title")
    private String subTitle;

    @TableField("type_id")
    private String typeId;

    @TableField("icon_ids")
    private String iconIds;

    @TableField("feedback_option_ids")
    private String feedbackOptionIds;

    /**
     * 排序字段
     */
    @TableField("sort")
    private Integer sort;

    /**
     * 案例logo	
     */
    @TableField("logo")
    private String logo;

    /**
     * 详情内容
     */
    @TableField("detail_content")
    private String detailContent;

    /**
     * 详情图片
     */
    @TableField("cover_image_url")
    private String coverImageUrl;

    @TableField("rec_status")
    @TableLogic(value = "A",delval = "I")
    private String recStatus;

    @TableField("create_time")
    private Date createTime;

    @TableField("update_time")
    private Date updateTime;

    /**
     * 是否发布，0否，1是
     */
    @TableField("is_public")
    private Integer isPublic;

    /**
     * 发布时间
     */
    @TableField("public_time")
    private Date publicTime;

    @TableField("language")
    private String language;

    /**
     * 是否显示，0否，1是
     */
    @TableField("is_show")
    private Integer isShow;

    @TableField("sys_user_id")
    private Integer sysUserId;


    /**
     * 引言，序言
     */
    @TableField("introduction")
    private String introduction;
    /**
     * 外链
     */
    @TableField("outside_link")
    private String outsideLink;



    @TableField(exist = false)
    private Integer iconId;

    @TableField(exist = false)
    private Integer feedbackOptionId;

    @TableField(exist = false)
    private List<FeedbackOption> feedbackOptionList;
}
