You've already forked FrameTour-BE
refactor(scenic): 重构景区配置响应结构
- 移除了过时的配置字段,如预约流程、强制完成时间等 - 调整了字段顺序并添加分类注释(基础配置、功能开关、提示文案) -保留并优化核心配置项,如水印URL、防录屏类型等 - 清理了未使用的导入包和冗余代码 - 统一了优惠券开关字段,移除重复定义
This commit is contained in:
@@ -1,16 +1,7 @@
|
||||
package com.ycwl.basic.model.pc.scenic.resp;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.ycwl.basic.facebody.enums.FaceBodyAdapterType;
|
||||
import com.ycwl.basic.pay.enums.PayAdapterType;
|
||||
import com.ycwl.basic.storage.enums.StorageType;
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @Author:longbinbin
|
||||
* @Date:2024/12/2 10:53
|
||||
@@ -19,37 +10,49 @@ import java.util.Date;
|
||||
@Data
|
||||
public class ScenicConfigResp {
|
||||
|
||||
// ========== 基础配置 ==========
|
||||
|
||||
/**
|
||||
* 预约流程,1-预约,2-在线,3-全部
|
||||
* 水印URL
|
||||
*/
|
||||
private Integer bookRoutine;
|
||||
private Integer forceFinishTime;
|
||||
private Integer tourTime;
|
||||
private String watermarkUrl;
|
||||
|
||||
/**
|
||||
* 样本保存时间
|
||||
*/
|
||||
private Integer sampleStoreDay;
|
||||
private Integer faceStoreDay;
|
||||
/**
|
||||
* 视频保存时间
|
||||
* 视频存储天数
|
||||
*/
|
||||
private Integer videoStoreDay;
|
||||
private Boolean allFree;
|
||||
private Boolean disableSourceVideo;
|
||||
private Boolean disableSourceImage;
|
||||
private Integer antiScreenRecordType;
|
||||
private Integer videoSourceStoreDay;
|
||||
private Integer imageSourceStoreDay;
|
||||
private Integer userSourceExpireDay;
|
||||
private BigDecimal brokerDirectRate;
|
||||
|
||||
private String imageSourcePackHint = "";
|
||||
private String videoSourcePackHint = "";
|
||||
private Boolean voucherEnable;
|
||||
private Boolean enableVoucher;
|
||||
/**
|
||||
* 防录屏类型配置
|
||||
*/
|
||||
private Integer antiScreenRecordType;
|
||||
|
||||
// ========== 功能开关 ==========
|
||||
|
||||
/**
|
||||
* 分组功能开关
|
||||
*/
|
||||
private Boolean groupingEnable;
|
||||
|
||||
/**
|
||||
* 优惠券功能开关
|
||||
*/
|
||||
private Boolean voucherEnable;
|
||||
|
||||
/**
|
||||
* 等待时显示照片开关
|
||||
*/
|
||||
private Boolean showPhotoWhenWaiting;
|
||||
private String watermarkUrl;
|
||||
private Boolean shareEnable;
|
||||
private Boolean shareBeforeBuy;
|
||||
|
||||
// ========== 提示文案 ==========
|
||||
|
||||
/**
|
||||
* 图片素材包提示文案
|
||||
*/
|
||||
private String imageSourcePackHint = "";
|
||||
|
||||
/**
|
||||
* 视频素材包提示文案
|
||||
*/
|
||||
private String videoSourcePackHint = "";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user