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; }