package com.liquidnet.service.kylin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 正在现场app版本控制
 * </p>
 *
 * @author jiangxiulong
 * @since 2021-07-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class KylinZhengzaiAppVersions implements Serializable ,Cloneable {

    private static final long serialVersionUID = 1L;

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

    private String zhengzaiAppVersionsId;

    private String name;

    private String filePath;

    private String version;
    private String minVersion;

    private Integer type;
    private Integer isProduction;
    private Integer isForce;
    private Integer isDeleted;

    private String content;

    private Integer appType;

    /**
     * 创建时间
     */
    private String createdAt;

    /**
     * 修改时间
     */
    private String updatedAt;

    private static final KylinZhengzaiAppVersions obj = new KylinZhengzaiAppVersions();
    public static KylinZhengzaiAppVersions getNew() {
        try {
            return (KylinZhengzaiAppVersions) obj.clone();
        } catch (CloneNotSupportedException e) {
            return new KylinZhengzaiAppVersions();
        }
    }
}
