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.util.Date;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2022-07-13
 */
@Getter
@Setter
@TableName("t_scene_download_log")
public class SceneDownloadLog implements Serializable {

    private static final long serialVersionUID = 1L;

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

    /**
     * 用户id
     */
    @TableField("user_id")
    private Long userId;

    /**
     * 场景码
     */
    @TableField("scene_num")
    private String sceneNum;

    /**
     * 场景版本
     */
    @TableField("scene_version")
    private Integer sceneVersion;

    /**
     * 场景打包之后的连接
     */
    @TableField("download_url")
    private String downloadUrl;

    /**
     * 0下载中，1下载成功，2下载失败
     */
    @TableField("status")
    private Integer status;

    /**
     * 下载版本v3,v4
     */
    @TableField("sys_version")
    private String sysVersion;

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

    @TableField("create_time")
    private Date createTime;

    @TableField("update_time")
    private Date updateTime;


}
