package com.ycwl.basic.model.pc.scenic.entity;

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
 * 景区配置
 */
@Data
@TableName("scenic_config")
@Deprecated
public class ScenicConfigEntity {
    @TableId
    private Long id;
    /**
     * 景区id
     */
    private Long scenicId;
    /**
     * 启用时间
     */
    private Date startTime;
    /**
     * 结束时间
     */
    private Date endTime;
    /**
     * 是否为默认
     */
    private Integer isDefault;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    /**
     * 预约流程，1-预约，2-在线，3-全部
     */
    private Integer bookRoutine;
    private Integer forceFinishTime;
    /**
     * 一般游玩时间
     */
    private Integer tourTime;
    /**
     * 样本保存时间
     */
    private Integer sampleStoreDay;
    /**
     * 人脸保存时间
     */
    private Integer faceStoreDay;
    /**
     * 视频保存时间
     */
    private Integer videoStoreDay;
    /**
     * 是否开启全部免费
     */
    private Boolean allFree;
    /**
     * 是否禁用源视频
     * 0-否 1-是
     */
    private Boolean disableSourceVideo;
    /**
     * 是否禁用源图片
     * 0-否 1-是
     */
    private Boolean disableSourceImage;
    private Integer templateNewVideoType;
    /**
     * 是否开启防录屏
     * 0-否 1-是
     */
    private Integer antiScreenRecordType;
    /**
     * 源视频存储时长
     */
    private Integer videoSourceStoreDay;
    /**
     * 源图片存储时长
     */
    private Integer imageSourceStoreDay;
    /**
     * 用户素材存储时长
     */
    private Integer userSourceExpireDay;
    /**
     * 人脸识别阈值，是0~100的数值
     */
    private Float faceScoreThreshold;
    private StorageType storeType;
    private String storeConfigJson;
    private BigDecimal brokerDirectRate;
    private Integer faceDetectHelperThreshold;

    private String watermarkType;
    private String watermarkScenicText;
    private String watermarkDtFormat;

    private FaceBodyAdapterType faceType;
    private String faceConfigJson;

    private PayAdapterType payType;
    private String payConfigJson;

    private String imageSourcePackHint;
    private String videoSourcePackHint;

    private String extraNotificationTime;

    private Integer photoFreeNum;
    private Integer videoFreeNum;
    /**
     * 是否启用券码功能
     * 0-禁用 1-启用
     */
    private Boolean voucherEnable;
}
