package com.huimv.manage.eartag.dao.entity;

import javax.persistence.*;
import java.io.Serializable;
import java.sql.Timestamp;

@Entity
@Table(name = "et_earmark")
public class EtEarmarkEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id", nullable = false)
    private Integer id;

    @Column(name = "earmark_id")
    private String earmarkId;

    @Column(name = "package_id")
    private String packageId;

    @Column(name = "earmark_number")
    private String earmarkNumber;

    @Column(name = "apply_id")
    private String applyId;

    @Column(name = "earmark_data")
    private String earmarkData;

    @Column(name = "set_write_state")
    private Integer setWriteState;

    @Column(name = "set_write_date")
    private Timestamp setWriteDate;

    @Column(name = "set_print_state")
    private Integer setPrintState;

    @Column(name = "set_print_date")
    private Timestamp setPrintDate;

    @Column(name = "set_down_state")
    private Integer setDownState;

    @Column(name = "set_down_date")
    private Timestamp setDownDate;

    @Column(name = "set_upload_state")
    private Integer setUploadState;

    @Column(name = "set_upload_date")
    private Timestamp setUploadDate;

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

    public Integer getId() {
        return id;
    }

    public void setEarmarkId(String earmarkId) {
        this.earmarkId = earmarkId;
    }

    public String getEarmarkId() {
        return earmarkId;
    }

    public void setPackageId(String packageId) {
        this.packageId = packageId;
    }

    public String getPackageId() {
        return packageId;
    }

    public void setEarmarkNumber(String earmarkNumber) {
        this.earmarkNumber = earmarkNumber;
    }

    public String getEarmarkNumber() {
        return earmarkNumber;
    }

    public void setApplyId(String applyId) {
        this.applyId = applyId;
    }

    public String getApplyId() {
        return applyId;
    }

    public void setEarmarkData(String earmarkData) {
        this.earmarkData = earmarkData;
    }

    public String getEarmarkData() {
        return earmarkData;
    }

    public void setSetWriteState(Integer setWriteState) {
        this.setWriteState = setWriteState;
    }

    public Integer getSetWriteState() {
        return setWriteState;
    }

    public void setSetWriteDate(Timestamp setWriteDate) {
        this.setWriteDate = setWriteDate;
    }

    public Timestamp getSetWriteDate() {
        return setWriteDate;
    }

    public void setSetPrintState(Integer setPrintState) {
        this.setPrintState = setPrintState;
    }

    public Integer getSetPrintState() {
        return setPrintState;
    }

    public void setSetPrintDate(Timestamp setPrintDate) {
        this.setPrintDate = setPrintDate;
    }

    public Timestamp getSetPrintDate() {
        return setPrintDate;
    }

    public void setSetDownState(Integer setDownState) {
        this.setDownState = setDownState;
    }

    public Integer getSetDownState() {
        return setDownState;
    }

    public void setSetDownDate(Timestamp setDownDate) {
        this.setDownDate = setDownDate;
    }

    public Timestamp getSetDownDate() {
        return setDownDate;
    }

    public void setSetUploadState(Integer setUploadState) {
        this.setUploadState = setUploadState;
    }

    public Integer getSetUploadState() {
        return setUploadState;
    }

    public void setSetUploadDate(Timestamp setUploadDate) {
        this.setUploadDate = setUploadDate;
    }

    public Timestamp getSetUploadDate() {
        return setUploadDate;
    }

    @Override
    public String toString() {
        return "EtEarmarkEntity{" +
                "id=" + id + '\'' +
                "earmarkId=" + earmarkId + '\'' +
                "packageId=" + packageId + '\'' +
                "earmarkNumber=" + earmarkNumber + '\'' +
                "applyId=" + applyId + '\'' +
                "earmarkData=" + earmarkData + '\'' +
                "setWriteState=" + setWriteState + '\'' +
                "setWriteDate=" + setWriteDate + '\'' +
                "setPrintState=" + setPrintState + '\'' +
                "setPrintDate=" + setPrintDate + '\'' +
                "setDownState=" + setDownState + '\'' +
                "setDownDate=" + setDownDate + '\'' +
                "setUploadState=" + setUploadState + '\'' +
                "setUploadDate=" + setUploadDate + '\'' +
                '}';
    }
}
