package cn.com.countrygarden.bi.main.model.advise;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import java.util.Date;


/**
 * 建言基础设置
 *
 * @author 木木子
 * @email 944528607@qq.com
 * @url 
 * @date 2019-04-15
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
@Table(name = "af_advise_config")
public class AfAdviseConfig implements Serializable{
    private static final long serialVersionUID = 1L;
    /**
     * 主键
     */
    @Id
    @GeneratedValue(strategy=GenerationType.IDENTITY)
    private Integer id;
    /**
     * 配置键
     */
 	@Column(name="config_key")
    private String configKey;
    /**
     * 配置值
     */
 	@Column(name="config_value")
    private String configValue;
    /**
     * 配置描述
     */
 	@Column(name="name")
    private String name;
    /**
     * 可用
     */
 	@Column(name="enable")
    private Integer enable;
    /**
     * 创建日期
     */
    @JsonFormat(pattern="yyyy/MM/dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;
    /**
     * 创建人
     */
 	@Column(name="create_by")
    private String createBy;
    /**
     * 修改日期
     */
    @JsonFormat(pattern="yyyy/MM/dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;
    /**
     * 修改人
     */
 	@Column(name="update_by")
    private String updateBy;
    /**
     * 分支关联
     */
 	@Column(name="branch_type_code")
    private String branchTypeCode;
    public AfAdviseConfig() {
          super();
    }
    public void setId(Integer id) {
          this.id = id;
    }
	
    public Integer getId() {
          return id;
    }
    public void setConfigKey(String configKey) {
          this.configKey = configKey;
    }
	
    public String getConfigKey() {
          return configKey;
    }
    public void setConfigValue(String configValue) {
          this.configValue = configValue;
    }
	
    public String getConfigValue() {
          return configValue;
    }
    public void setName(String name) {
          this.name = name;
    }
	
    public String getName() {
          return name;
    }
    public void setEnable(Integer enable) {
          this.enable = enable;
    }
	
    public Integer getEnable() {
          return enable;
    }
    public void setCreateTime(Date createTime) {
          this.createTime = createTime;
    }
	
    public Date getCreateTime() {
          return createTime;
    }
    public void setCreateBy(String createBy) {
          this.createBy = createBy;
    }
	
    public String getCreateBy() {
          return createBy;
    }
    public void setUpdateTime(Date updateTime) {
          this.updateTime = updateTime;
    }
	
    public Date getUpdateTime() {
          return updateTime;
    }
    public void setUpdateBy(String updateBy) {
          this.updateBy = updateBy;
    }
	
    public String getUpdateBy() {
          return updateBy;
    }
    public void setBranchTypeCode(String branchTypeCode) {
          this.branchTypeCode = branchTypeCode;
    }
	
    public String getBranchTypeCode() {
          return branchTypeCode;
    }
}
