package com.ruoyi.frequency.platformanswer.entity;

import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.experimental.Accessors;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import com.ruoyi.vo.UserInfo;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 平台有问必答对象 t_platform_answer
 *
 * @author liwenlong
 * @date 2024-01-24
 */
@Data
@Accessors(chain = true)
@TableName("t_platform_answer")
public class PlatformAnswer extends BaseEntity
{
    private static final long serialVersionUID = 1L;


    @ApiModelProperty("主键ID")
    private Long id;

    @ApiModelProperty("删除标志 1正常 删除 3 禁用")
    private Integer delFlag;

    @ApiModelProperty("标题")
    @Excel(name = "标题")
    private String title;

    @ApiModelProperty("内容")
    @Excel(name = "内容")
    private String content;

    @ApiModelProperty("排序")
    @Excel(name = "排序")
    private Long sort;

    @ApiModelProperty("浏览数")
    @Excel(name = "浏览数")
    private Long browseNum;

    @ApiModelProperty("1设计师  2表现师")
    @Excel(name = "1设计师  2表现师")
    private Integer userType;

    @ApiModelProperty("分类id")
    private Long platformAnswerTypeId;

    @ApiModelProperty("分类名称")
    @TableField(exist = false)
    private String platformAnswerTypeName;

    @ApiModelProperty("开始时间")
    @TableField(exist = false)
    private Date beginTime;

    @ApiModelProperty("结束时间")
    @TableField(exist = false)
    private Date endTime;

}
