liu
22 小时以前 46287520465b5664a1ddb0256537857cfd1cfc15
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
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;
 
}