@@ -32,7 +32,7 @@ public class ComponentGoods implements Serializable {
*/
@Id
@Column(name = "id", unique = true, nullable = false, insertable = false, updatable = false)
- private String id;
+ private Long id;
/**
* product$component的主键
@@ -289,11 +289,11 @@ public class ComponentGoods implements Serializable {
@Column(name = "go_storename")
private String storeName;
- public String getId() {
+ public Long getId() {
return id;
}
- public void setId(String id) {
+ public void setId(Long id) {
this.id = id;