This commit is contained in:
zjf committed 2025-04-16 17:09:59 +08:00
1 parent f59bad4dbe
commit fe1e217443
7 files changed
+247 -68

No files matched your search

@@ -0,0 +1,21 @@
package com.bsd.pjcloud.integrated.constant;
import lombok.AllArgsConstructor;
import lombok.Getter;
/**
* 出库入口
*/
@AllArgsConstructor
@Getter
public enum DictTypeEnum {
VISITOR_REASON("visitor_reason", "拜访原因"),
;
private final String type;
private final String description;
}
@@ -0,0 +1,110 @@
package com.bsd.pjcloud.integrated.dto.visitor.app;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import java.time.LocalDateTime;
import java.util.List;
/**
* 访客表
*
* @author zjf
* @date 2025-04-09 15:22:47
*/
@Data
@Schema(description = "app访客dto")
public class VisitorsYYAppDTO {
/**
* 姓名
*/
@Schema(description="姓名")
@NotNull
private String name;
/**
* 手机号
*/
@NotNull
@Schema(description="手机号")
private String mobile;
/**
* 身份证号
*/
@Schema(description="身份证号")
private String idCard;
/**
* 描述
*/
@Schema(description="描述")
private String description;
/**
* 到访单位
*/
@Schema(description="到访单位id")
private Long deptId;
/**
* 到访单位
*/
@Schema(description="到访单位")
private String deptName;
/**
* 接待人
*/
@Schema(description="接待人")
private String userName;
/**
* 公司名称
*/
@Schema(description="公司名称")
private String companyName;
/**
* 到访时间
*/
@Schema(description="到访时间")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private LocalDateTime vStartDate;
/**
* 到访时间
*/
@Schema(description="到访时间")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private LocalDateTime vEndDate;
/**
* 是否驾驶车辆0 否 1是
*/
@Schema(description="是否驾驶车辆0 否 1是")
private String isDrive;
@Schema(description="是否有随行人员 0 否 1是")
private String isOtherPeople;
// @Schema(description="用户id")
// private Long userId;
// @Schema(description="车牌号集合")
// private List<VisitorsCarAppDTO> carList;
//
// @Schema(description="随行人员集合")
// private List <VisitorsPeopleAppDTO> otherPeople;
}
@@ -19,17 +19,17 @@ import java.util.List;
public class VisitorsAppPageVo {
/**
/**
* id
*/
@Schema(description="id")
private Long id;
/**
* 姓名
*/
@Schema(description="姓名")
private String name;
private String name;
/**
* 手机号
@@ -37,16 +37,10 @@ public class VisitorsAppPageVo {
@Schema(description="手机号")
private String mobile;
/**
* 身份证号
*/
@Schema(description="身份证号")
private String idCard;
/**
* 描述
*/
@Schema(description="描述")
@Schema(description="拜访原因")
private String description;
/**
@@ -55,35 +49,12 @@ public class VisitorsAppPageVo {
@Schema(description="审核状态")
private String checkStatus;
/**
* 到访单位
*/
@Schema(description="到访单位")
private Long deptId;
/**
* 接待人
*/
@Schema(description="接待人")
private Long userName;
/**
* 车牌号id
*/
@Schema(description="车牌号id")
private Long carId;
/**
* 公司名称
*/
@Schema(description="公司名称")
private String companyName;
/**
* 随行人员数量
*/
@Schema(description="随行人员数量")
private Integer peopleNumber;
@Schema(description="拜访人")
private String userName;
/**
* 到访时间
@@ -96,11 +67,7 @@ public class VisitorsAppPageVo {
@Schema(description="到访时间")
private LocalDateTime vEndDate;
/**
* 是否驾驶车辆0 否 1是
*/
@Schema(description="是否驾驶车辆0 否 1是")
private String isDrive;
/**
@@ -118,10 +85,7 @@ public class VisitorsAppPageVo {
private LocalDateTime createTime;
@Schema(description="token")
private String token;
@Schema(description="车牌号")
private List<VisitorsCarAppVo> visitorsCarAppVos;
}