package com.corewing.app.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * app版本控制
 */
@Data
@TableName("app_version")
public class AppVersion {

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

    private String version;

    private int versionNumber;

    private int buildNumber;

    private String updateContent;

    private String downloadUrl;

    private String type;

    private Integer status;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.UPDATE)
    private LocalDateTime updateTime;

}
