You've already forked FrameTour-BE
获取人脸对应视频流程,自动删除源视频流程,自动创建任务渲染流程,自动删除人脸数据逻辑
This commit is contained in:
@ -0,0 +1,59 @@
|
||||
package com.ycwl.basic.model.pc.device.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
@TableName("device_config")
|
||||
public class DeviceConfigEntity {
|
||||
private Long id;
|
||||
/**
|
||||
* 设备id
|
||||
*/
|
||||
private Long deviceId;
|
||||
/**
|
||||
* 启用时间
|
||||
*/
|
||||
private Date startTime;
|
||||
/**
|
||||
* 结束时间
|
||||
*/
|
||||
private Date endTime;
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date createTime;
|
||||
/**
|
||||
* 存储类型
|
||||
*/
|
||||
private Integer storeType;
|
||||
/**
|
||||
* 存储配置
|
||||
*/
|
||||
private String storeConfigJson;
|
||||
/**
|
||||
* 存储过期天数
|
||||
*/
|
||||
private Integer storeExpireDay;
|
||||
/**
|
||||
* 检测设备是否在线
|
||||
*/
|
||||
private Integer onlineCheck;
|
||||
/**
|
||||
* 检测设备是否在线最大间隔
|
||||
*/
|
||||
private Integer onlineMaxInterval;
|
||||
/**
|
||||
* 切割时,取人脸前多少秒的视频
|
||||
*/
|
||||
private BigDecimal cutPre;
|
||||
/**
|
||||
* 切割时,取人脸后多少秒的视频
|
||||
*/
|
||||
private BigDecimal cutPost;
|
||||
}
|
@ -16,6 +16,7 @@ import java.util.Date;
|
||||
public class FaceEntity {
|
||||
@TableId
|
||||
private Long id;
|
||||
private Long scenicId;
|
||||
/**
|
||||
* 人脸得分
|
||||
*/
|
||||
|
@ -16,6 +16,8 @@ import java.util.Date;
|
||||
@Data
|
||||
@ApiModel("人脸查询参数")
|
||||
public class FaceReqQuery extends BaseQueryParameterReq {
|
||||
@ApiModelProperty("景区id")
|
||||
private Long scenicId;
|
||||
@ApiModelProperty("会员id")
|
||||
private Long memberId;
|
||||
@ApiModelProperty("用户上传的人脸照片")
|
||||
|
@ -18,6 +18,7 @@ import java.util.Date;
|
||||
@ApiModel(value = "订单查询对象")
|
||||
public class OrderReqQuery extends BaseQueryParameterReq {
|
||||
private Long id;
|
||||
private Long scenicId;
|
||||
private Long memberId;
|
||||
@ApiModelProperty("用户昵称")
|
||||
private String memberNickname;
|
||||
|
@ -102,4 +102,6 @@ public class OrderRespVO {
|
||||
private Date refundAt;
|
||||
@ApiModelProperty("订单明细")
|
||||
private List<OrderItemVO> orderItemList;
|
||||
private Long scenicId;
|
||||
private String scenicName;
|
||||
}
|
||||
|
@ -38,4 +38,21 @@ public class ScenicConfigEntity {
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date createTime;
|
||||
|
||||
/**
|
||||
* 预约流程,1-预约,2-在线,3-全部
|
||||
*/
|
||||
private Integer bookRoutine;
|
||||
/**
|
||||
* 样本保存时间
|
||||
*/
|
||||
private Integer sampleStoreDay;
|
||||
/**
|
||||
* 视频保存时间
|
||||
*/
|
||||
private Integer videoStoreDay;
|
||||
/**
|
||||
* 最大行程时长
|
||||
*/
|
||||
private Integer maxJourneyHour;
|
||||
}
|
||||
|
@ -1,7 +1,6 @@
|
||||
package com.ycwl.basic.model.pc.scenic.req;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.ycwl.basic.model.pc.scenic.entity.ScenicConfigEntity;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
@ -78,8 +77,6 @@ public class ScenicAddOrUpdateReq {
|
||||
private Date createTime;
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date updateTime;
|
||||
@ApiModelProperty("景区配置")
|
||||
private ScenicConfigEntity scenicConfig;
|
||||
@ApiModelProperty("景区源素材价格,元")
|
||||
private BigDecimal price;
|
||||
|
||||
|
@ -79,13 +79,11 @@ public class ScenicRespVO {
|
||||
* 状态 1启用0关闭
|
||||
*/
|
||||
@ApiModelProperty("状态 1启用0关闭")
|
||||
private String status;
|
||||
private Integer status;
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date createTime;
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date updateTime;
|
||||
@ApiModelProperty("景区配置")
|
||||
private ScenicConfigEntity scenicConfig;
|
||||
@ApiModelProperty("景区源素材价格,元")
|
||||
private BigDecimal price;
|
||||
@ApiModelProperty("镜头数")
|
||||
|
@ -30,6 +30,10 @@ public class SourceEntity {
|
||||
* 所属用户
|
||||
*/
|
||||
private Long memberId;
|
||||
/**
|
||||
* 人脸样本id
|
||||
*/
|
||||
private Long faceSampleId;
|
||||
/**
|
||||
* 原素材类型:1视频,2图像
|
||||
*/
|
||||
|
@ -0,0 +1,16 @@
|
||||
package com.ycwl.basic.model.pc.template.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
@TableName("template_config")
|
||||
public class TemplateConfigEntity {
|
||||
private Long id;
|
||||
private Long templateId;
|
||||
private Integer isDefault;
|
||||
private Date createDate;
|
||||
private Integer minimalPlaceholderFill;
|
||||
}
|
Reference in New Issue
Block a user