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_responsibler")
public class AfAdviseResponsibler implements Serializable{
    private static final long serialVersionUID = 1L;
    /**
     * 主键
     */
    @Id
    @GeneratedValue(strategy=GenerationType.IDENTITY)
    private Integer id;
    /**
     * 负责人类型（0超级管理员1.系统管理员，2.总部管理员，3类型负责人）
     */
 	@Column(name="type")
    private Integer type;
    /**
     * 建言类型关联
     */
 	@Column(name="advise_type_id")
    private Integer adviseTypeId;
    /**
     * 关联人员编号
     */
 	@Column(name="user_code")
    private String userCode;
    /**
     * 关联人员名称
     */
 	@Column(name="user_name")
    private String userName;
    /**
     * 可用
     */
 	@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 AfAdviseResponsibler() {
          super();
    }
    public void setId(Integer id) {
          this.id = id;
    }
	
    public Integer getId() {
          return id;
    }
    public void setType(Integer type) {
          this.type = type;
    }
	
    public Integer getType() {
          return type;
    }
   
    public Integer getAdviseTypeId() {
		return adviseTypeId;
	}
	public void setAdviseTypeId(Integer adviseTypeId) {
		this.adviseTypeId = adviseTypeId;
	}
	public void setUserCode(String userCode) {
          this.userCode = userCode;
    }
	
    public String getUserCode() {
          return userCode;
    }
    public void setUserName(String userName) {
          this.userName = userName;
    }
	
    public String getUserName() {
          return userName;
    }
    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;
    }
}
