GitBucket
4.23.0
Toggle navigation
Sign in
Files
Branches
1
Releases
Issues
Pull requests
Labels
Priorities
Milestones
Wiki
Forks
yn-bftl-byx
/
common
Browse code
ErpInventoryInfo
master
1 parent
6fa45f1
commit
780a4755b0ab424a9bdefa140c7176f442c25e27
Jing
authored
on 16 Oct
Patch
Showing
1 changed file
src/main/java/com/yn/bftl/common/modules/good/entity/ErpInventoryInfo.java
Ignore Space
Show notes
View
src/main/java/com/yn/bftl/common/modules/good/entity/ErpInventoryInfo.java
0 → 100644
package com.yn.bftl.common.modules.good.entity; import com.google.common.base.MoreObjects; import com.yn.bftl.common.common.entity.AuditableModel; import com.yn.bftl.common.modules.customer.entity.Customer; import com.yn.bftl.common.modules.meta.entity.MetaFile; import org.hibernate.annotations.Type; import javax.persistence.*; import java.io.Serializable; import java.math.BigDecimal; import java.util.Objects; @Entity @Cacheable(false) @Table(name = "GOOD_ERP_INVENTORY_INFO") @Inheritance(strategy = InheritanceType.SINGLE_TABLE) public class ErpInventoryInfo extends AuditableModel implements Serializable { @Id @GeneratedValue( strategy = GenerationType.SEQUENCE, generator = "GOOD_ERP_INVENTORY_INFO_SEQ" ) @SequenceGenerator( name = "GOOD_ERP_INVENTORY_INFO_SEQ", sequenceName = "GOOD_ERP_INVENTORY_INFO_SEQ", allocationSize = 1 ) private Long id; //商品编码 private String cinvcode; //存货名称 private String cinvname; //商品名称 private String ccurrencyname; //规格型号 private String cinvstd; //涂装颜色 private String paintingcolor; //辐条辐帽 private String spoke; //主键ID private Long iId = 0L; private String attrs; public ErpInventoryInfo() { } public ErpInventoryInfo(String cinvcode, String cinvname, String ccurrencyname) { this.cinvcode = cinvcode; this.cinvname = cinvname; this.ccurrencyname = ccurrencyname; } public Long getId() { return this.id; } public void setId(Long id) { this.id = id; } public String getCinvcode() { return this.cinvcode; } public void setCinvcode(String cinvcode) { this.cinvcode = cinvcode; } public String getCinvname() { return this.cinvname; } public void setCinvname(String cinvname) { this.cinvname = cinvname; } public String getCcurrencyname() { return this.ccurrencyname; } public void setCcurrencyname(String ccurrencyname) { this.ccurrencyname = ccurrencyname; } public String getCinvstd() { return this.cinvstd; } public void setCinvstd(String cinvstd) { this.cinvstd = cinvstd; } public String getPaintingcolor() { return this.paintingcolor; } public void setPaintingcolor(String paintingcolor) { this.paintingcolor = paintingcolor; } public String getSpoke() { return this.spoke; } public void setSpoke(String spoke) { this.spoke = spoke; } public Long getiId() { return this.iId == null ? 0L : this.iId; } public void setiId(Long iId) { this.iId = iId; } public String getAttrs() { return this.attrs; } public void setAttrs(String attrs) { this.attrs = attrs; } public boolean equals(Object obj) { if (obj == null) { return false; } else if (this == obj) { return true; } else if (!(obj instanceof ErpInventoryInfo)) { return false; } else { ErpInventoryInfo other = (ErpInventoryInfo)obj; return this.getId() == null && other.getId() == null ? false : Objects.equals(this.getId(), other.getId()); } } public int hashCode() { return 31; } public String toString() { return MoreObjects.toStringHelper(this).add("id", this.getId()).add("cinvcode", this.getCinvcode()).add("cinvname", this.getCinvname()).add("ccurrencyname", this.getCcurrencyname()).add("cinvstd", this.getCinvstd()).add("paintingcolor", this.getPaintingcolor()).add("spoke", this.getSpoke()).add("iId", this.getiId()).omitNullValues().toString(); } }
Show line notes below