package com.ruoyi.frequency.worksreport.entity;

import com.ruoyi.frequency.works.entity.Works;
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_works_report
 * 
 * @author liwenlong
 * @date 2023-11-30
 */
@Data
@Accessors(chain = true)
@TableName("t_works_report")
public class WorksReport extends BaseEntity
{
    private static final long serialVersionUID = 1L;


    @ApiModelProperty("租户号")
    private Long id;

    @ApiModelProperty("删除状态 1 正常 2 删除 3 禁用")
    private Integer delFlag;

    @ApiModelProperty("用户类型")
    @Excel(name = "用户类型")
    private Integer userType;

    @ApiModelProperty("用户id")
    @Excel(name = "用户id")
    private Long userId;

    @ApiModelProperty("作品id")
    @Excel(name = "作品id")
    private Long worksId;

    @ApiModelProperty("举报原因")
    @Excel(name = "举报原因")
    private String reason;

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

    @ApiModelProperty("图片")
    @Excel(name = "图片")
    private String images;

    @ApiModelProperty("处理结果 1 未处理 2 已处理 3拒绝处理")
    @Excel(name = "处理结果 1 未处理 2 已处理 3拒绝处理")
    private Integer result;

    @ApiModelProperty("用户信息")
    @TableField(exist = false)
    private UserInfo userInfo;

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

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

    @ApiModelProperty("作品信息")
    @TableField(exist = false)
    private Works works;
    

}
