package cn.com.countrygarden.bi.main.dto.advise.param;

import com.fasterxml.jackson.annotation.JsonFormat;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import java.io.Serializable;
import java.util.Date;

/**
 * @author 木木子
 * @Description: java类作用描述
 * @email 944528607@qq.com
 * @date 2019/5/5 9:35
 */
public class AfAdviseFeedbackAddParam implements Serializable {
    /**
     * 主键
     */
    @Id
    @GeneratedValue(strategy= GenerationType.IDENTITY)
    private Integer id;
    /**
     * 建言类型标识
     */
    private Integer adviseTypeId;
    /**
     * 建言类型名称
     */
    private String adviseTypeName;
    /**
     * 建言标题
     */
    private String title;
    /**
     * 建言内容
     */
    private String content;
    /**
     * 是否私密
     */
    private Integer isPrivate;
    /**
     * 状态(0保存1发布2进行中)
     */
    private Integer state;
    /**
     * 上报时间
     */
    @JsonFormat(pattern="yyyy/MM/dd HH:mm:ss",timezone = "GMT+8")
    private Date reportTime;
    /**
     * 是否逾期
     */
    private Integer isTimeout;
    /**
     * 周期所属
     */
    private String schedule;
    /**
     * 分配人标识
     */
    private String distributionUserCode;
    /**
     * 分配人
     */
    private String distributionUserName;
    /**
     * 分配时间
     */
    @JsonFormat(pattern="yyyy/MM/dd HH:mm:ss",timezone = "GMT+8")
    private Date distributionTime;

    /**
     *分配建言类型标识
     */
    private Integer distributionAdviseTypeId;


    /**
     * 所属区域名称
     */
    private String organName;
    /**
     * 所属区域编号
     */
    private String organCode;
    /**
     * 所属类型（1.项目2.区域）
     */
    private Integer rangeType;
    /**
     * 可用
     */
    private Integer enable;
    /**
     * 创建日期
     */
    @JsonFormat(pattern="yyyy/MM/dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;
    /**
     * 创建人
     */
    private String createBy;
    /**
     * 修改日期
     */
    @JsonFormat(pattern="yyyy/MM/dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;
    /**
     * 修改人
     */
    private String updateBy;
    /**
     * 版本号
     */
    private Integer version;
    /**
     * 是否删除
     */
    private Integer isDeleted;
    /**
     * 分支关联
     */
    private String branchTypeCode;
    private String userName;
    /**
     * 当前建言所处的节点类型
     */
    private  Integer processType;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getAdviseTypeId() {
        return adviseTypeId;
    }

    public void setAdviseTypeId(Integer adviseTypeId) {
        this.adviseTypeId = adviseTypeId;
    }

    public String getAdviseTypeName() {
        return adviseTypeName;
    }

    public void setAdviseTypeName(String adviseTypeName) {
        this.adviseTypeName = adviseTypeName;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getIsPrivate() {
        return isPrivate;
    }

    public void setIsPrivate(Integer isPrivate) {
        this.isPrivate = isPrivate;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Date getReportTime() {
        return reportTime;
    }

    public void setReportTime(Date reportTime) {
        this.reportTime = reportTime;
    }

    public Integer getIsTimeout() {
        return isTimeout;
    }

    public void setIsTimeout(Integer isTimeout) {
        this.isTimeout = isTimeout;
    }

    public String getSchedule() {
        return schedule;
    }

    public void setSchedule(String schedule) {
        this.schedule = schedule;
    }

    public String getDistributionUserCode() {
        return distributionUserCode;
    }

    public void setDistributionUserCode(String distributionUserCode) {
        this.distributionUserCode = distributionUserCode;
    }

    public String getDistributionUserName() {
        return distributionUserName;
    }

    public void setDistributionUserName(String distributionUserName) {
        this.distributionUserName = distributionUserName;
    }

    public Date getDistributionTime() {
        return distributionTime;
    }

    public void setDistributionTime(Date distributionTime) {
        this.distributionTime = distributionTime;
    }

    public Integer getDistributionAdviseTypeId() {
        return distributionAdviseTypeId;
    }

    public void setDistributionAdviseTypeId(Integer distributionAdviseTypeId) {
        this.distributionAdviseTypeId = distributionAdviseTypeId;
    }



    public String getOrganName() {
        return organName;
    }

    public void setOrganName(String organName) {
        this.organName = organName;
    }

    public String getOrganCode() {
        return organCode;
    }

    public void setOrganCode(String organCode) {
        this.organCode = organCode;
    }

    public Integer getRangeType() {
        return rangeType;
    }

    public void setRangeType(Integer rangeType) {
        this.rangeType = rangeType;
    }

    public Integer getEnable() {
        return enable;
    }

    public void setEnable(Integer enable) {
        this.enable = enable;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }

    public String getBranchTypeCode() {
        return branchTypeCode;
    }

    public void setBranchTypeCode(String branchTypeCode) {
        this.branchTypeCode = branchTypeCode;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getProcessType() {
        return processType;
    }

    public void setProcessType(Integer processType) {
        this.processType = processType;
    }
}
