package cn.iocoder.yudao.module.aftersales.controller.admin.compensation.vo;
|
|
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
|
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;
|
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
|
import cn.idev.excel.annotation.ExcelProperty;
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import lombok.Data;
|
|
import java.math.BigDecimal;
|
import java.time.LocalDateTime;
|
|
/**
|
* 售后赔付/服务补偿单 Response VO
|
*/
|
@Schema(description = "售后赔付/服务补偿单 Response VO")
|
@Data
|
@ExcelIgnoreUnannotated
|
public class AfterSaleCompensationRespVO {
|
|
@Schema(description = "赔付单编号", example = "1")
|
@ExcelProperty("赔付单编号")
|
private Long id;
|
|
@Schema(description = "赔付单号", example = "PS20260820001")
|
@ExcelProperty("赔付单号")
|
private String compensationNo;
|
|
@Schema(description = "赔付类型: 1-故障赔付 2-服务补偿", example = "1")
|
@ExcelProperty(value = "赔付类型", converter = DictConvert.class)
|
@DictFormat(cn.iocoder.yudao.module.aftersales.enums.DictTypeConstants.AFTER_SALES_COMPENSATION_TYPE)
|
private Integer compensationType;
|
|
@Schema(description = "关联售后工单编号", example = "1")
|
private Long ticketId;
|
|
@Schema(description = "客户编号", example = "1")
|
private Long customerId;
|
|
@Schema(description = "客户名称", example = "华能电力")
|
private String customerName;
|
|
@Schema(description = "关联销售订单编号", example = "1")
|
private Long saleOrderId;
|
|
@Schema(description = "赔付金额", example = "1000.00")
|
@ExcelProperty("赔付金额")
|
private BigDecimal amount;
|
|
@Schema(description = "赔付对象", example = "张三")
|
@ExcelProperty("赔付对象")
|
private String payee;
|
|
@Schema(description = "赔付原因", example = "产品故障导致损失")
|
@ExcelProperty("赔付原因")
|
private String reason;
|
|
@Schema(description = "审批状态", example = "0")
|
private Integer auditStatus;
|
|
@Schema(description = "审批状态名称", example = "未提交")
|
private String auditStatusName;
|
|
@Schema(description = "审批流程实例编号")
|
private String processInstanceId;
|
|
@Schema(description = "审核人", example = "1")
|
private Long auditUserId;
|
|
@Schema(description = "审核时间")
|
private LocalDateTime auditTime;
|
|
@Schema(description = "审核备注")
|
private String auditRemark;
|
|
@Schema(description = "支付状态(账务联动预留)")
|
private Integer payStatus;
|
|
@Schema(description = "备注")
|
private String remark;
|
|
@Schema(description = "创建时间")
|
private LocalDateTime createTime;
|
|
}
|