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

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

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

    @Column(name = "contract_id")
    private Integer contractId;

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

    @Column(name = "created_by")
    private String createdBy;

    private String content;

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

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

    /**
     * @return contract_id
     */
    public Integer getContractId() {
        return contractId;
    }

    /**
     * @param contractId
     */
    public void setContractId(Integer contractId) {
        this.contractId = contractId;
    }

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

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

    /**
     * @return created_by
     */
    public String getCreatedBy() {
        return createdBy;
    }

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

    /**
     * @return content
     */
    public String getContent() {
        return content;
    }

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