package com.gzzm.lobster.config;

import net.cyan.thunwind.annotation.ColumnDescription;
import net.cyan.thunwind.annotation.Entity;

import java.util.Date;

@Entity(table = "AI_SYSTEM_CONFIG", keys = "configKey")
public class SystemConfigEntry {

    @ColumnDescription(type = "varchar(120)")
    private String configKey;

    @ColumnDescription(type = "clob")
    private String configValue;

    @ColumnDescription(type = "varchar(40)")
    private String valueType;

    @ColumnDescription(type = "varchar(200)")
    private String updatedBy;

    private Date createTime;
    private Date updateTime;

    public SystemConfigEntry() {}

    public String getConfigKey() { return configKey; }
    public void setConfigKey(String configKey) { this.configKey = configKey; }
    public String getConfigValue() { return configValue; }
    public void setConfigValue(String configValue) { this.configValue = configValue; }
    public String getValueType() { return valueType; }
    public void setValueType(String valueType) { this.valueType = valueType; }
    public String getUpdatedBy() { return updatedBy; }
    public void setUpdatedBy(String updatedBy) { this.updatedBy = updatedBy; }
    public Date getCreateTime() { return createTime; }
    public void setCreateTime(Date createTime) { this.createTime = createTime; }
    public Date getUpdateTime() { return updateTime; }
    public void setUpdateTime(Date updateTime) { this.updateTime = updateTime; }
}
