package com.YuyeTech.TPlat.dataobject;

import lombok.Data;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.*;
import java.util.Date;

/**
 * @author:slambb
 * @date:2020/1/10
 */
@Data
@Entity
@DynamicUpdate
public class VersionCode {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer id;
    private String title;
    private String code;
    /**0:全都限制，1:限制 android ，2:限制ios,*/
    private Integer limitPlatform;
    @Column(name="is_show_game")
    private Integer isShowGame;
    @Column(name="is_show_video")
    private Integer isShowVideo;
    private String describe;
    private Date deleteTime;
    private Date createTime;
    private Date updateTime;
}