package com.uas.eis.entity;

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

/**
 * Created by luhg on 2018/4/26.
 * 记录操作成功的单据
 */
@Entity
@Table(name = "edi_success_log")
public class EdiSuccessLog implements Serializable {

    private static final long serialVersionUID = 1L;

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

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

    @Column(name = "es_type")
    private String type;

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

    public EdiSuccessLog(){
    }

    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 getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Date getDate() {
        return date;
    }

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