feat(property): 访客登记同步 E8 平台门禁
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
package org.dromara.sis.api;
|
||||
|
||||
import org.dromara.sis.api.domain.RemoteVisitor;
|
||||
|
||||
/**
|
||||
* @author lsm
|
||||
* @apiNote RemoteVisitorService
|
||||
* @since 2025/8/18
|
||||
*/
|
||||
public interface RemoteVisitorService {
|
||||
|
||||
/**
|
||||
* 访客信息写入E8平台
|
||||
*
|
||||
* @param visitor 访客信息
|
||||
* @return 访客ID
|
||||
*/
|
||||
Long syncE8PlatVisitor(RemoteVisitor visitor);
|
||||
}
|
@@ -0,0 +1,48 @@
|
||||
package org.dromara.sis.api.domain;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serial;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author lsm
|
||||
* @apiNote RemoteVisitor
|
||||
* @since 2025/8/18
|
||||
*/
|
||||
@Data
|
||||
public class RemoteVisitor implements Serializable {
|
||||
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 访客名称
|
||||
*/
|
||||
private String visitorName;
|
||||
|
||||
/**
|
||||
* 手机号码
|
||||
*/
|
||||
private String mobilePhone;
|
||||
|
||||
/**
|
||||
* 被访人手机号
|
||||
*/
|
||||
private String intervieweeMobile;
|
||||
|
||||
/**
|
||||
* 授权开始时间
|
||||
*/
|
||||
private String visitorStartTime;
|
||||
|
||||
/**
|
||||
* 授权结束时间
|
||||
*/
|
||||
private String vistorEndTime;
|
||||
|
||||
/**
|
||||
* 访客人脸照
|
||||
*/
|
||||
private String visitorFaceImg;
|
||||
}
|
Reference in New Issue
Block a user