longz
2026-04-21 c4db0a4526f61758272c92396aa788d84f098102
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
package com.sinata.appointment.entity;
 
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import java.time.LocalDate;
import lombok.Data;
import lombok.EqualsAndHashCode;
 
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("appointment_order")
@Schema(description = "预约单")
public class AppointmentOrder extends BaseEntity {
 
    @Schema(description = "预约单号")
    private String orderNo;
 
    @Schema(description = "访问类型 VISITOR/VEHICLE")
    private String visitType;
 
    @Schema(description = "被访人用户 id")
    private Long visitedUserId;
 
    @Schema(description = "被访人姓名(脱敏展示用快照)")
    private String visitedUserName;
 
    @Schema(description = "被访人所属部门(二级审批匹配部门负责人)")
    private Long visitedDeptId;
 
    @Schema(description = "来访事由编码或文本键")
    private String visitReasonCode;
 
    @Schema(description = "来访事由自定义内容")
    private String visitReasonOther;
 
    @Schema(description = "来访单位")
    private String visitorOrg;
 
    @Schema(description = "拜访时间模式(SINGLE/MULTI)")
    private String visitTimeMode;
 
    @Schema(description = "单日时段(ALL_DAY/AM/PM)")
    private String visitTimeSlot;
 
    @Schema(description = "拜访开始日期")
    private LocalDate visitStartDate;
 
    @Schema(description = "拜访结束日期")
    private LocalDate visitEndDate;
 
    @Schema(description = "状态")
    private String status;
 
    @Schema(description = "是否节假日触发额外审批")
    private Boolean holidayFlag;
 
    @Schema(description = "是否有人员进场")
    private Boolean personEntryFlag;
 
    @Schema(description = "是否有车辆进场")
    private Boolean vehicleEntryFlag;
 
    @Schema(description = "提交人用户ID(mp_user.id)")
    private Long submitterId;
 
    @Schema(description = "拒绝原因")
    private String rejectReason;
 
    @Schema(description = "经办人审批通行区域ID列表(JSON)")
    private String passAccessAreaIds;
 
    @Schema(description = "经办人审批通行区域名称列表(JSON)")
    private String passAccessAreaNames;
 
    @Schema(description = "经办人审批是否涉及其他属地单位")
    private Boolean involveOtherLocalUnit;
 
    @Schema(description = "经办人审批其他属地单位ID列表(JSON)")
    private String passLocalUnitIds;
 
    @Schema(description = "经办人审批其他属地单位名称列表(JSON)")
    private String passLocalUnitNames;
}