package com.ruoyi.controller.resp;

import com.ruoyi.frequency.appealdetail.entity.AppealDetail;
import com.ruoyi.vo.UserInfo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @author a
 * @date 2023/10/16 10:22
 */
@Data
public class AppealDetailResp {

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

    @ApiModelProperty("订单id")
    private Long orderId;

    @ApiModelProperty("申诉内容")
    private String content;

    @ApiModelProperty("申诉图片/视频")
    private String picture;

    @ApiModelProperty("申诉人")
    private Long appealUserId;

    @ApiModelProperty("申诉人用户类型")
    private Integer appealUserType;

    @ApiModelProperty("被申诉人")
    private Long passiveAppealUserId;

    @ApiModelProperty("被申诉人用户类型")
    private Integer passiveAppealUserType;

    @ApiModelProperty("申诉结果;状态 1 待处理 2 已处理")
    private Integer appealResult;

    @ApiModelProperty("订单编号")
    private String orderNo;

    @ApiModelProperty("订单标题")
    private String title;

    @ApiModelProperty("订单内容")
    private String orderContent;

    @ApiModelProperty("订单素材")
    private String sourceMaterial;

    @ApiModelProperty("申诉视频")
    private String videoUrl;


    @ApiModelProperty("订单金额")
    private BigDecimal orderAmount;

    @ApiModelProperty(value = "是否高端认证 1 没有 2认证")
    private Integer ifHighend;

    @ApiModelProperty("申诉金额")
    private BigDecimal amount;

    @ApiModelProperty("申诉人信息")
    private UserInfo appealUserInfo;

    @ApiModelProperty("被申诉人信息")
    private UserInfo passiveAppealUserInfo;

    @ApiModelProperty("订单时间")
    private Date orderTime;

    @ApiModelProperty("退款金额")
    private BigDecimal refundPrice;


    @ApiModelProperty("订单状态")
    private Integer orderStatus;

    @ApiModelProperty("投诉删除状态")
    private Integer delFlag;

    @ApiModelProperty("投诉创建时间")
    private Date createTime;

    @ApiModelProperty("申诉聊天")
    private List<AppealDetail> appealDetailList;
}
