package com.huaheng.pc.system.config.domain; 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.fasterxml.jackson.annotation.JsonFormat; import com.google.common.collect.Maps; import com.huaheng.framework.aspectj.lang.annotation.Excel; import lombok.Data; import java.util.Date; import java.util.Map; /** * 参数配置表 sys_config * * @author huaheng */ @TableName(value = "sys_config") @Data public class Config { private static final long serialVersionUID = 1L; /** 参数主键 */ @Excel(name = "参数主键") @TableId(value = "id",type = IdType.AUTO) private Integer id; /** 参数名称 */ @Excel(name = "参数名称") @TableField(value = "configName") private String configName; /** 参数键名 */ @Excel(name = "参数键名") @TableField(value = "configKey") private String configKey; /** 参数键值 */ @Excel(name = "参数键值") @TableField(value = "configValue") private String configValue; /** 系统内置(Y是 N否) */ @Excel(name = "系统内置") @TableField(value = "configType") private String configType; /** 搜索值 */ private String searchValue; /** 创建者 */ @TableField(value = "createBy") private String createBy; /** 创建时间 */ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @TableField(value = "createTime") private Date createTime; /** 更新者 */ @TableField(value = "updateBy") private String updateBy; /** 更新时间 */ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @TableField(value = "updateTime") private Date updateTime; /** 备注 */ @TableField(value = "remark") private String remark; @TableField(value = "warehouseCode") private String warehouseCode; /** 请求参数 */ private Map<String, Object> params; }