com.github.javaclub.base.domain.ConfigList Maven / Gradle / Ivy
/* Automatic generated by CrudCodeGenerator wirtten by Gerald Chen
*
* @(#)ConfigList.java 2023-09-08
*
* Copyright (c) 2023 - 2099. All Rights Reserved.
*
*/
package com.github.javaclub.base.domain;
import java.io.Serializable;
import java.util.Date;
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 io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
/**
* ConfigList 实体类
*
* @version $Id: ConfigList.java 2023-09-08 16:25:36 Exp $
*/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("s_sys_config_list")
@ApiModel(description = "关联配置列表")
public class ConfigList implements Serializable {
private static final long serialVersionUID = 1694161536350L;
@ApiModelProperty(value = "主键")
@TableId(type = IdType.AUTO)
private Long id;
@ApiModelProperty(value = "配置父ID")
private Long parentId;
@ApiModelProperty(value = "配置值")
private String configValue;
@ApiModelProperty(value = "权重排序值")
private Integer priority;
@ApiModelProperty(value = "内容格式: [text-普通文本 xml-XML文件内容 properties-属性格式内容 yaml-YAML格式内容 bash-SHELL脚本内容]")
private String format;
@ApiModelProperty(value = "备注")
private String remark;
@ApiModelProperty(value = "创建者ID")
private Long creatorId;
@ApiModelProperty(value = "创建时间")
private Date createdTime;
@ApiModelProperty(value = "修改时间")
@TableField(update = "now()")
private Date modifiedTime;
public ConfigList() {}
}