package com.palmnest.model.release;

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

/**
 * @Author HXT
 * @Description 物品放行明细
 * @Date 2018/9/14 13:37
 **/
@Entity
@Table(name = "tb_goods_detail")
public class GoodsDetail implements Serializable {

	private static final long serialVersionUID = 8371651925335623572L;

	private Long    id;
	private Long    releaseId;
	private String  goodsName;
	private Integer amount;
	public  String company;

	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	@Column(name = "id", unique = true, nullable = false)
	public Long getId() {
		return id;
	}

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

	public Long getReleaseId() {
		return releaseId;
	}

	public void setReleaseId(Long releaseId) {
		this.releaseId = releaseId;
	}

	public String getGoodsName() {
		return goodsName;
	}

	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}

	public Integer getAmount() {
		return amount;
	}

	public void setAmount(Integer amount) {
		this.amount = amount;
	}

	public static long getSerialVersionUID() {
		return serialVersionUID;
	}

	public String getCompany() {
		return company;
	}

	public void setCompany(String company) {
		this.company = company;
	}
}
