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

import java.util.Date;
import javax.persistence.*;

@Table(name = "comm_report_weekly")
public class CommReportWeekly {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer id;

    @Column(name = "comm_id")
    private Integer commId;

    /**
     * week of year
     */
    private Integer woy;

    /**
     * 年份
     */
    private Integer year;

    @Column(name = "gmt_create")
    private Date gmtCreate;

    @Column(name = "create_by")
    private String createBy;

    @Column(name = "gmt_update")
    private Date gmtUpdate;

    @Column(name = "modified_by")
    private String modifiedBy;

    @Column(name = "start_date")
    private Date startDate;

    @Column(name = "end_date")
    private Date endDate;

    /**
     * 本周工作内容
     */
    private String content;

    /**
     * 下周计划
     */
    @Column(name = "next_week_plan")
    private String nextWeekPlan;

    /**
     * 当前需协助解决事项
     */
    @Column(name = "assistance_item")
    private String assistanceItem;

    /**
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * @return comm_id
     */
    public Integer getCommId() {
        return commId;
    }

    /**
     * @param commId
     */
    public void setCommId(Integer commId) {
        this.commId = commId;
    }

    /**
     * 获取week of year
     *
     * @return woy - week of year
     */
    public Integer getWoy() {
        return woy;
    }

    /**
     * 设置week of year
     *
     * @param woy week of year
     */
    public void setWoy(Integer woy) {
        this.woy = woy;
    }

    /**
     * 获取年份
     *
     * @return year - 年份
     */
    public Integer getYear() {
        return year;
    }

    /**
     * 设置年份
     *
     * @param year 年份
     */
    public void setYear(Integer year) {
        this.year = year;
    }

    /**
     * @return gmt_create
     */
    public Date getGmtCreate() {
        return gmtCreate;
    }

    /**
     * @param gmtCreate
     */
    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    /**
     * @return create_by
     */
    public String getCreateBy() {
        return createBy;
    }

    /**
     * @param createBy
     */
    public void setCreateBy(String createBy) {
        this.createBy = createBy == null ? null : createBy.trim();
    }

    /**
     * @return gmt_update
     */
    public Date getGmtUpdate() {
        return gmtUpdate;
    }

    /**
     * @param gmtUpdate
     */
    public void setGmtUpdate(Date gmtUpdate) {
        this.gmtUpdate = gmtUpdate;
    }

    /**
     * @return modified_by
     */
    public String getModifiedBy() {
        return modifiedBy;
    }

    /**
     * @param modifiedBy
     */
    public void setModifiedBy(String modifiedBy) {
        this.modifiedBy = modifiedBy == null ? null : modifiedBy.trim();
    }

    /**
     * @return start_date
     */
    public Date getStartDate() {
        return startDate;
    }

    /**
     * @param startDate
     */
    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    /**
     * @return end_date
     */
    public Date getEndDate() {
        return endDate;
    }

    /**
     * @param endDate
     */
    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    /**
     * 获取本周工作内容
     *
     * @return content - 本周工作内容
     */
    public String getContent() {
        return content;
    }

    /**
     * 设置本周工作内容
     *
     * @param content 本周工作内容
     */
    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    /**
     * 获取下周计划
     *
     * @return next_week_plan - 下周计划
     */
    public String getNextWeekPlan() {
        return nextWeekPlan;
    }

    /**
     * 设置下周计划
     *
     * @param nextWeekPlan 下周计划
     */
    public void setNextWeekPlan(String nextWeekPlan) {
        this.nextWeekPlan = nextWeekPlan == null ? null : nextWeekPlan.trim();
    }

    /**
     * 获取当前需协助解决事项
     *
     * @return assistance_item - 当前需协助解决事项
     */
    public String getAssistanceItem() {
        return assistanceItem;
    }

    /**
     * 设置当前需协助解决事项
     *
     * @param assistanceItem 当前需协助解决事项
     */
    public void setAssistanceItem(String assistanceItem) {
        this.assistanceItem = assistanceItem == null ? null : assistanceItem.trim();
    }
}