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

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

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

    @Column(name = "comm_id")
    private Integer commId;
    
   @Column(name = "dynamic_id")
    private Integer dynamicId;
    
    /**
     * 备注
     */
    private String comment;

    /**
     * 变更数据
     */
    private String content;

    /**
     * 操作名
     */
    private String name;

    /**
     * 创建时间
     */
    @Column(name = "gmt_create")
    private Date gmtCreate;

    /**
     * 创建人ERP UserCode
     */
    @Column(name = "create_by")
    private String createBy;

    /**
     * @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;
    }

    /**
     * 获取备注
     *
     * @return comment - 备注
     */
    public String getComment() {
        return comment;
    }

    /**
     * 设置备注
     *
     * @param comment 备注
     */
    public void setComment(String comment) {
        this.comment = comment == null ? null : comment.trim();
    }

    /**
     * 获取变更数据
     *
     * @return content - 变更数据
     */
    public String getContent() {
        return content;
    }

    /**
     * 设置变更数据
     *
     * @param content 变更数据
     */
    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    /**
     * 获取操作名
     *
     * @return name - 操作名
     */
    public String getName() {
        return name;
    }
    
    public Integer getDynamicId() {
		return dynamicId;
	}

	public void setDynamicId(Integer dynamicId) {
		this.dynamicId = dynamicId;
	}

	/**
     * 设置操作名
     *
     * @param name 操作名
     */
    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public String getCreateBy() {
        return createBy;
    }

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