package com.fdkankan.ucenter.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 会员权益类型
 * </p>
 *
 * @author 
 * @since 2023-06-19
 */
@Getter
@Setter
@TableName("t_increment_type")
public class IncrementType implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 权益类型名称
     */
    @TableField("name")
    private String name;

    /**
     * member会员,freeMember免费会员
     */
    @TableField("type")
    private String type;

    /**
     * 下载次数，-1代表无限次
     */
    @TableField("download_num")
    private Integer downloadNum;

    /**
     * 下载价格
     */
    @TableField("download_price")
    private BigDecimal downloadPrice;

    /**
     * 相机容量 单位 G
     */
    @TableField("camera_capacity")
    private Integer cameraCapacity;

    /**
     * 相机容量单位
     */
    @TableField("camera_space")
    private Integer cameraSpace;

    /**
     * 购买之后，有效期天数，-1代表无限制
     */
    @TableField("valid_time")
    private Integer validTime;

    /**
     * 0:年;1:月：2：日
     */
    @TableField("valid_time_type")
    private Integer validTimeType;

    /**
     * 权益价格
     */
    @TableField("price")
    private BigDecimal price;

    /**
     * 价格符号
     */
    @TableField("symbol")
    private String symbol;

    /**
     * 自定义logo
     */
    @TableField("custom_logo")
    private Boolean customLogo;

    /**
     * 自定义热点样式
     */
    @TableField("custom_style")
    private Boolean customStyle;
    /**
     * 带看
     */
    @TableField("custom_take_look")
    private Boolean customTakeLook;

    /**
     * 空间贴图
     */
    @TableField("custom_image")
    private Boolean customImage;

    /**
     * 三维模型
     */
    @TableField("custom_model")
    private Boolean customModel;

    /**
     * 场景美化调节
     */
    @TableField("custom_scene")
    private Boolean customScene;

    /**
     * 场景复制
     */
    @TableField("custom_copy")
    private Boolean customCopy;

    /**
     * 场景计算
     */
    @TableField("custom_modeling")
    private Integer customModeling;

    /**
     * 场景下载
     */
    @TableField("custom_down")
    private Integer customDown;

    @TableField("rec_status")
    @TableLogic(value = "A",delval = "I")
    private String recStatus;

    @TableField("create_time")
    private Date createTime;

    /**
     * 权益价格
     */
    @TableField("update_time")
    private Date updateTime;


}
