package com.uas.eis.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

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

/**
 * Created by luhg on 2018/4/26.
 * 销售退货单明细
 */
@Entity
@Table(name = "edi_salereturn_detail")
@JsonIgnoreProperties(ignoreUnknown = true)
public class SaleReturnDetail implements Serializable {
    private static final long serialVersionUID = 1L;

    @Id
    @SequenceGenerator(name="EDI_SALERETURN_DETAIL_GENERATOR", sequenceName="EDI_SALERETURN_DETAIL_SEQ", allocationSize=1)
    @GeneratedValue(strategy=GenerationType.SEQUENCE, generator="EDI_SALERETURN_DETAIL_GENERATOR")
    @Column(name = "id_")
    private Long id;

    @Column(name = "mainid_")
    private Long mainId;

    @Column(name = "spec_no")
    private String spec_no;

    @Column(name = "stockin_num")
    private Double stockin_num;

    @Column(name = "order_id")
    private Long order_id;


    public SaleReturnDetail(){}

    public Long getId() {
        return id;
    }

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

    public Long getMainId() {
        return mainId;
    }

    public void setMainId(Long mainId) {
        this.mainId = mainId;
    }

    public String getSpec_no() {
        return spec_no;
    }

    public void setSpec_no(String spec_no) {
        this.spec_no = spec_no;
    }

    public Double getStockin_num() {
        return stockin_num;
    }

    public void setStockin_num(Double stockin_num) {
        this.stockin_num = stockin_num;
    }

    public Long getOrder_id() {
        return order_id;
    }

    public void setOrder_id(Long order_id) {
        this.order_id = order_id;
    }
}
