package com.yh.saas.plugin.yiliangyiyun.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.annotations.Version;

import com.baomidou.mybatisplus.enums.IdType;
import com.yh.saas.common.support.entity.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * APP版本管理
 * </p>
 *
 * @author Gongdc
 * @since 2021-08-23
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("app_version")
public class AppVersion extends BaseModel<AppVersion> {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(type = IdType.UUID)
    private String id;
    /**
     * 版本号
     */
    private String version;
    /**
     * 提示信息
     */
    private String note;
    /**
     * 路径
     */
    private String url;
    /**
     * wgt路径
     */
    private String wgtUrl;
    /**
     * 版本code码
     */
    private String versionCode;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
