package com.ruoyi.frequency.appealdetail.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.vo.UserInfo;
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.ruoyi.common.core.domain.BaseEntity;

/**
 * 申诉详情对象 t_appeal_detail
 * 
 * @author zj
 * @date 2023-10-13
 */
@Data
@Accessors(chain = true)
@TableName("t_appeal_detail")
public class AppealDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;


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

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

    @ApiModelProperty("申诉主表id")
    @Excel(name = "申诉主表id")
    private Long appealId;

    @ApiModelProperty("发送消息用户")
    private Long sendUserId;

    @ApiModelProperty("发送消息用户类型")
    private Integer sendUserType;

    @ApiModelProperty("对话消息;文字或图片")
    @Excel(name = "对话消息;文字或图片")
    private String message;

    @ApiModelProperty("图片")
    private String images;

    @ApiModelProperty("消息类型")
    private String messageType;

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

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

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