package com.storlead.knowledge.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.storlead.framework.mybatis.entity.SysBaseField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ConfigVersionEntity对象", description="配置版本信息")
@TableName("config_version")
public class ConfigVersionEntity extends SysBaseField {

    private static final long serialVersionUID = 1L;

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

    @ApiModelProperty(value = "名称")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "应用编码")
    @TableField("app_code")
    private String appCode;

    @ApiModelProperty(value = "键值")
    @TableField("key")
    private String key;

    @ApiModelProperty(value = "版本号")
    @TableField("version")
    private String version;

    @ApiModelProperty(value = "状态")
    @TableField("status")
    private Integer status;
}