ServiceOrder.java
2.13 KB
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
package vion.model;
import com.baomidou.mybatisplus.annotation.*;
import io.github.linpeilie.annotations.AutoMapper;
import io.github.linpeilie.annotations.AutoMappers;
import lombok.Getter;
import lombok.Setter;
import vion.dto.ServiceOrderDTO;
import vion.vo.ServiceOrderVO;
import java.time.LocalDateTime;
@Getter
@Setter
@TableName("tbl_service_order")
@AutoMappers({
@AutoMapper(target = ServiceOrderVO.class),
@AutoMapper(target = ServiceOrderDTO.class),
})
public class ServiceOrder {
@TableId(type = IdType.AUTO)
private Long id;
/**
* 项目名称
*/
private String projectName;
/**
* 报修人
*/
private String submitter;
/**
* 报修人手机号码
*/
private String submitPhone;
/**
* 报修时间
*/
private LocalDateTime submitTime;
/**
* 维修人
*/
private String repairPeople;
/**
* 维修人手机号码
*/
private String repairPhone;
/**
* 部门
*/
private String dept;
/**
* 服务方式(1.电话支持 2.远程服务 3.现场服务)
*/
private Integer serviceType;
/**
* 耗时
*/
private Double time;
/**
* 故障内容
*/
private String faultContent;
/**
* 维修结果
*/
private String repairRes;
/**
* 客户评价
*/
private String review;
/**
* 工单id
*/
private Long taskId;
/**
* 服务单状态
*/
private Integer state;
/**
* 创建时间
*/
@TableField(value = "create_time", fill = FieldFill.INSERT)
private LocalDateTime createTime;
/**
* 更新时间
*/
@TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
private LocalDateTime updateTime;
/**
* 五星好评
*/
private Integer stars;
/**
* 签字图片base64
*/
private String signPic;
/**
* 签字时间
*/
private LocalDateTime signTime;
/**
* 完成时间
*/
private LocalDateTime finishTime;
/**
* 唯一id
*/
private String unid;
}