|
|
@@ -0,0 +1,121 @@
|
|
|
+package com.uas.platform.b2b.model;
|
|
|
+
|
|
|
+
|
|
|
+import javax.persistence.*;
|
|
|
+import java.io.Serializable;
|
|
|
+
|
|
|
+/**
|
|
|
+ * 买家的采购验收单明细
|
|
|
+ *
|
|
|
+ * @author yingp
|
|
|
+ *
|
|
|
+ */
|
|
|
+@Table(name = "purc$acceptitem")
|
|
|
+@Entity
|
|
|
+public class PurcAcceptItem implements Serializable {
|
|
|
+
|
|
|
+ /**
|
|
|
+ * default serialVersionUID
|
|
|
+ */
|
|
|
+ private static final Long serialVersionUID = 1L;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * id
|
|
|
+ */
|
|
|
+ @Id
|
|
|
+ @GeneratedValue(strategy = GenerationType.AUTO)
|
|
|
+ @Column(name = "pai_id")
|
|
|
+ private Long id;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 序号
|
|
|
+ */
|
|
|
+ @Column(name = "pai_number")
|
|
|
+ private Short number;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 数量
|
|
|
+ */
|
|
|
+ @Column(name = "pai_qty")
|
|
|
+ private Double qty;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 采购单价
|
|
|
+ */
|
|
|
+ @Column(name = "pai_orderprice")
|
|
|
+ private Double orderPrice;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 税率
|
|
|
+ */
|
|
|
+ @Column(name = "pai_taxrate")
|
|
|
+ private Double taxrate;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 验收单主记录
|
|
|
+ */
|
|
|
+ @Column(name = "pai_paid", nullable = false)
|
|
|
+ private Long acceptId;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 采购明细id
|
|
|
+ */
|
|
|
+ @Column(name = "pai_pdid")
|
|
|
+ private Long orderItemId;
|
|
|
+
|
|
|
+ public Long getId() {
|
|
|
+ return id;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setId(Long id) {
|
|
|
+ this.id = id;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Short getNumber() {
|
|
|
+ return number;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setNumber(Short number) {
|
|
|
+ this.number = number;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Double getQty() {
|
|
|
+ return qty;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setQty(Double qty) {
|
|
|
+ this.qty = qty;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Double getOrderPrice() {
|
|
|
+ return orderPrice;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setOrderPrice(Double orderPrice) {
|
|
|
+ this.orderPrice = orderPrice;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Double getTaxrate() {
|
|
|
+ return taxrate;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setTaxrate(Double taxrate) {
|
|
|
+ this.taxrate = taxrate;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Long getAcceptId() {
|
|
|
+ return acceptId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setAcceptId(Long acceptId) {
|
|
|
+ this.acceptId = acceptId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Long getOrderItemId() {
|
|
|
+ return orderItemId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setOrderItemId(Long orderItemId) {
|
|
|
+ this.orderItemId = orderItemId;
|
|
|
+ }
|
|
|
+}
|