package com.uas.eis.entity;

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

/**
 * Created by luhg on 2018/4/24.
 * 出入库过账成功记录表，防止调用反写接口时失败而重复过账
 */
@Entity
@Table(name = "edi_post_log")
public class EdiPostLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @Id
    @GeneratedValue
    @Column(name = "ep_id")
    private Long id;

    @Column(name = "ep_inoutno")
    private String code;

    @Column(name = "ep_piclass")
    private String piClass;

    @Column(name = "ep_date")
    private Date date = new Date();

    public EdiPostLog(){
    }

    public Long getId() {
        return id;
    }

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

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getPiClass() {
        return piClass;
    }

    public void setPiClass(String piClass) {
        this.piClass = piClass;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }
}
