package cn.iocoder.yudao.module.aftersales.dal.dataobject.visit;
|
|
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
|
import com.baomidou.mybatisplus.annotation.KeySequence;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import lombok.*;
|
|
import java.time.LocalDateTime;
|
|
/**
|
* 售后回访记录 DO
|
* <p>
|
* 挂在售后工单下的回访子记录,可多条;登记回访时同步推进工单回访状态。
|
*/
|
@TableName("after_sale_visit")
|
@KeySequence("after_sale_visit_seq")
|
@Data
|
@EqualsAndHashCode(callSuper = true)
|
@ToString(callSuper = true)
|
@Builder
|
@NoArgsConstructor
|
@AllArgsConstructor
|
public class AfterSaleVisitDO extends BaseDO {
|
|
/**
|
* 回访记录编号
|
*/
|
@TableId
|
private Long id;
|
/**
|
* 工单编号,关联 after_sale_ticket.id
|
*/
|
private Long ticketId;
|
/**
|
* 回访方式: 0-电话 1-上门 2-远程 3-其他
|
*/
|
private Integer visitType;
|
/**
|
* 回访人用户编号
|
*/
|
private Long visitorUserId;
|
/**
|
* 回访内容
|
*/
|
private String content;
|
/**
|
* 是否满意: 0-否 1-是
|
*/
|
@TableField("is_satisfied")
|
private Boolean satisfied;
|
/**
|
* 问题是否复发: 0-否 1-是
|
*/
|
@TableField("is_recurred")
|
private Boolean recurred;
|
/**
|
* 回访时间(登记即当时)
|
*/
|
private LocalDateTime visitTime;
|
/**
|
* 备注
|
*/
|
private String remark;
|
|
}
|