|
|
@@ -2,20 +2,12 @@ package com.uas.search.console.model;
|
|
|
|
|
|
import java.io.Serializable;
|
|
|
|
|
|
-import javax.persistence.Column;
|
|
|
-import javax.persistence.Entity;
|
|
|
-import javax.persistence.Id;
|
|
|
-import javax.persistence.Table;
|
|
|
-import javax.persistence.Transient;
|
|
|
-
|
|
|
/**
|
|
|
* 器件批次
|
|
|
*
|
|
|
* @author sunyj
|
|
|
* @since 2017年7月8日 下午5:14:08
|
|
|
*/
|
|
|
-@Entity
|
|
|
-@Table(name = "V$PRODUCT$CMPGOODS")
|
|
|
public class GoodsSimpleInfo implements Serializable {
|
|
|
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
@@ -23,86 +15,56 @@ public class GoodsSimpleInfo implements Serializable {
|
|
|
/**
|
|
|
* id
|
|
|
*/
|
|
|
- @Id
|
|
|
- @Column(name = "ID")
|
|
|
private String id;
|
|
|
|
|
|
/**
|
|
|
* 批次id
|
|
|
*/
|
|
|
- @Column(name = "GO_ID")
|
|
|
private Long goId;
|
|
|
|
|
|
/**
|
|
|
* 批次的库存
|
|
|
*/
|
|
|
- @Column(name = "GO_RESERVE")
|
|
|
private Double goReserve;
|
|
|
|
|
|
/**
|
|
|
* 批次的人民币价格
|
|
|
*/
|
|
|
- @Column(name = "GO_MINPRICERMB")
|
|
|
private Double goMinPriceRMB;
|
|
|
|
|
|
/**
|
|
|
* 批次的美元价格
|
|
|
*/
|
|
|
- @Column(name = "GO_MINPRICEUSD")
|
|
|
private Double goMinPriceUSD;
|
|
|
|
|
|
/**
|
|
|
* 货币
|
|
|
*/
|
|
|
- @Column(name = "CR_NAME")
|
|
|
private String crName;
|
|
|
|
|
|
- /**
|
|
|
- * 货源id
|
|
|
- */
|
|
|
- @Column(name = "GO_STOREID")
|
|
|
- private Long storeId;
|
|
|
-
|
|
|
/**
|
|
|
* 货源
|
|
|
*/
|
|
|
- @Transient
|
|
|
private StoreSimpleInfo store;
|
|
|
|
|
|
/**
|
|
|
* 器件的id
|
|
|
*/
|
|
|
- @Column(name = "CMP_ID")
|
|
|
private Long cmpId;
|
|
|
|
|
|
/**
|
|
|
* 原厂型号
|
|
|
*/
|
|
|
- @Column(name = "CMP_CODE")
|
|
|
private String cmpCode;
|
|
|
|
|
|
- /**
|
|
|
- * 类目id
|
|
|
- */
|
|
|
- @Column(name = "CMP_KIID")
|
|
|
- private Long kindId;
|
|
|
-
|
|
|
/**
|
|
|
* 类目
|
|
|
*/
|
|
|
- @Transient
|
|
|
private KindSimpleInfo kind;
|
|
|
|
|
|
- /**
|
|
|
- * 品牌id
|
|
|
- */
|
|
|
- @Column(name = "CMP_BRID")
|
|
|
- private Long brandId;
|
|
|
-
|
|
|
/**
|
|
|
* 品牌
|
|
|
*/
|
|
|
- @Transient
|
|
|
private BrandSimpleInfo brand;
|
|
|
|
|
|
public String getId() {
|
|
|
@@ -177,14 +139,6 @@ public class GoodsSimpleInfo implements Serializable {
|
|
|
this.cmpCode = cmpCode;
|
|
|
}
|
|
|
|
|
|
- public Long getKindId() {
|
|
|
- return kindId;
|
|
|
- }
|
|
|
-
|
|
|
- public void setKindId(Long kindId) {
|
|
|
- this.kindId = kindId;
|
|
|
- }
|
|
|
-
|
|
|
public KindSimpleInfo getKind() {
|
|
|
return kind;
|
|
|
}
|
|
|
@@ -193,14 +147,6 @@ public class GoodsSimpleInfo implements Serializable {
|
|
|
this.kind = kind;
|
|
|
}
|
|
|
|
|
|
- public Long getBrandId() {
|
|
|
- return brandId;
|
|
|
- }
|
|
|
-
|
|
|
- public void setBrandId(Long brandId) {
|
|
|
- this.brandId = brandId;
|
|
|
- }
|
|
|
-
|
|
|
public BrandSimpleInfo getBrand() {
|
|
|
return brand;
|
|
|
}
|
|
|
@@ -213,8 +159,7 @@ public class GoodsSimpleInfo implements Serializable {
|
|
|
public String toString() {
|
|
|
return "GoodsSimpleInfo [id=" + id + ", goId=" + goId + ", goReserve=" + goReserve + ", goMinPriceRMB="
|
|
|
+ goMinPriceRMB + ", goMinPriceUSD=" + goMinPriceUSD + ", crName=" + crName + ", store=" + store
|
|
|
- + ", cmpId=" + cmpId + ", cmpCode=" + cmpCode + ", kindId=" + kindId + ", kind=" + kind + ", brandId="
|
|
|
- + brandId + ", brand=" + brand + "]";
|
|
|
+ + ", cmpId=" + cmpId + ", cmpCode=" + cmpCode + ", kind=" + kind + ", brand=" + brand + "]";
|
|
|
}
|
|
|
|
|
|
}
|