|
|
@@ -6,18 +6,19 @@ import com.baomidou.mybatisplus.annotation.TableId;
|
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
import com.sckw.access.domain.Base;
|
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
|
+
|
|
|
import java.time.LocalDateTime;
|
|
|
+
|
|
|
import lombok.Getter;
|
|
|
import lombok.Setter;
|
|
|
|
|
|
/**
|
|
|
-* @date 2025-07-24 11:45:20
|
|
|
-* @author xucaiqin
|
|
|
-*/
|
|
|
-/**
|
|
|
- * 访客管理表
|
|
|
- */
|
|
|
-@Schema(description="访客管理表")
|
|
|
+ * 访客管理表
|
|
|
+ *
|
|
|
+ * @author xucaiqin
|
|
|
+ * @date 2025-07-24 13:54:15
|
|
|
+ */
|
|
|
+@Schema(description = "访客管理表")
|
|
|
@Getter
|
|
|
@Setter
|
|
|
@TableName(value = "t_visitor")
|
|
|
@@ -26,84 +27,90 @@ public class TVisitor extends Base {
|
|
|
* 编号
|
|
|
*/
|
|
|
@TableId(value = "id", type = IdType.AUTO)
|
|
|
- @Schema(description="编号")
|
|
|
+ @Schema(description = "编号")
|
|
|
private Long id;
|
|
|
|
|
|
/**
|
|
|
* 访客姓名
|
|
|
*/
|
|
|
@TableField(value = "`name`")
|
|
|
- @Schema(description="访客姓名")
|
|
|
+ @Schema(description = "访客姓名")
|
|
|
private String name;
|
|
|
|
|
|
/**
|
|
|
* 车牌号
|
|
|
*/
|
|
|
@TableField(value = "license_plate")
|
|
|
- @Schema(description="车牌号")
|
|
|
+ @Schema(description = "车牌号")
|
|
|
private String licensePlate;
|
|
|
|
|
|
/**
|
|
|
* 人员相片URL
|
|
|
*/
|
|
|
@TableField(value = "photo_url")
|
|
|
- @Schema(description="人员相片URL")
|
|
|
+ @Schema(description = "人员相片URL")
|
|
|
private String photoUrl;
|
|
|
|
|
|
/**
|
|
|
* 车辆类型
|
|
|
*/
|
|
|
@TableField(value = "vehicle_type")
|
|
|
- @Schema(description="车辆类型")
|
|
|
+ @Schema(description = "车辆类型")
|
|
|
private Object vehicleType;
|
|
|
|
|
|
/**
|
|
|
* 申请进入时间
|
|
|
*/
|
|
|
@TableField(value = "apply_entry_time")
|
|
|
- @Schema(description="申请进入时间")
|
|
|
+ @Schema(description = "申请进入时间")
|
|
|
private LocalDateTime applyEntryTime;
|
|
|
|
|
|
/**
|
|
|
* 申请出门时间
|
|
|
*/
|
|
|
@TableField(value = "apply_exit_time")
|
|
|
- @Schema(description="申请出门时间")
|
|
|
+ @Schema(description = "申请出门时间")
|
|
|
private LocalDateTime applyExitTime;
|
|
|
|
|
|
/**
|
|
|
* 通过道闸
|
|
|
*/
|
|
|
@TableField(value = "barrier_ids")
|
|
|
- @Schema(description="通过道闸")
|
|
|
+ @Schema(description = "通过道闸")
|
|
|
private String barrierIds;
|
|
|
|
|
|
/**
|
|
|
- * 审批人
|
|
|
+ * 审批人姓名
|
|
|
*/
|
|
|
- @TableField(value = "approver_id")
|
|
|
- @Schema(description="审批人")
|
|
|
- private Long approverId;
|
|
|
+ @TableField(value = "approver_name")
|
|
|
+ @Schema(description = "审批人姓名")
|
|
|
+ private String approverName;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 审批人手机
|
|
|
+ */
|
|
|
+ @TableField(value = "approver_mobile")
|
|
|
+ @Schema(description = "审批人手机")
|
|
|
+ private String approverMobile;
|
|
|
|
|
|
/**
|
|
|
* 审批状态
|
|
|
*/
|
|
|
@TableField(value = "approval_status")
|
|
|
- @Schema(description="审批状态")
|
|
|
+ @Schema(description = "审批状态")
|
|
|
private Integer approvalStatus;
|
|
|
|
|
|
/**
|
|
|
* 审批原因
|
|
|
*/
|
|
|
@TableField(value = "approval_reason")
|
|
|
- @Schema(description="审批原因")
|
|
|
+ @Schema(description = "审批原因")
|
|
|
private String approvalReason;
|
|
|
|
|
|
/**
|
|
|
* 申请时间
|
|
|
*/
|
|
|
@TableField(value = "apply_time")
|
|
|
- @Schema(description="申请时间")
|
|
|
+ @Schema(description = "申请时间")
|
|
|
private LocalDateTime applyTime;
|
|
|
-
|
|
|
}
|