init
This commit is contained in:
@@ -0,0 +1,112 @@
|
||||
package model;
|
||||
|
||||
import java.io.Serializable;
|
||||
import javax.persistence.*;
|
||||
|
||||
/**
|
||||
* The primary key class for the tseaist02 database table.
|
||||
*
|
||||
*/
|
||||
@Embeddable
|
||||
public class Tseaist02PK implements Serializable {
|
||||
//default serial version id, required for serializable classes.
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Column(unique=true, nullable=false, length=8)
|
||||
private String statcymd;
|
||||
|
||||
@Column(unique=true, nullable=false, length=4)
|
||||
private String eaibzwkdstcd;
|
||||
|
||||
@Column(unique=true, nullable=false, length=30)
|
||||
private String eaisvcname;
|
||||
|
||||
@Column(unique=true, nullable=false, length=2)
|
||||
private String intfacptrncd;
|
||||
|
||||
@Column(unique=true, nullable=false, length=4)
|
||||
private String chnlmdiadstcd;
|
||||
|
||||
@Column(unique=true, nullable=false, length=3)
|
||||
private String logprcssserno;
|
||||
|
||||
@Column(unique=true, nullable=false, length=1)
|
||||
private String stndmsguseyn;
|
||||
|
||||
public Tseaist02PK() {
|
||||
}
|
||||
public String getStatcymd() {
|
||||
return this.statcymd;
|
||||
}
|
||||
public void setStatcymd(String statcymd) {
|
||||
this.statcymd = statcymd;
|
||||
}
|
||||
public String getEaibzwkdstcd() {
|
||||
return this.eaibzwkdstcd;
|
||||
}
|
||||
public void setEaibzwkdstcd(String eaibzwkdstcd) {
|
||||
this.eaibzwkdstcd = eaibzwkdstcd;
|
||||
}
|
||||
public String getEaisvcname() {
|
||||
return this.eaisvcname;
|
||||
}
|
||||
public void setEaisvcname(String eaisvcname) {
|
||||
this.eaisvcname = eaisvcname;
|
||||
}
|
||||
public String getIntfacptrncd() {
|
||||
return this.intfacptrncd;
|
||||
}
|
||||
public void setIntfacptrncd(String intfacptrncd) {
|
||||
this.intfacptrncd = intfacptrncd;
|
||||
}
|
||||
public String getChnlmdiadstcd() {
|
||||
return this.chnlmdiadstcd;
|
||||
}
|
||||
public void setChnlmdiadstcd(String chnlmdiadstcd) {
|
||||
this.chnlmdiadstcd = chnlmdiadstcd;
|
||||
}
|
||||
public String getLogprcssserno() {
|
||||
return this.logprcssserno;
|
||||
}
|
||||
public void setLogprcssserno(String logprcssserno) {
|
||||
this.logprcssserno = logprcssserno;
|
||||
}
|
||||
public String getStndmsguseyn() {
|
||||
return this.stndmsguseyn;
|
||||
}
|
||||
public void setStndmsguseyn(String stndmsguseyn) {
|
||||
this.stndmsguseyn = stndmsguseyn;
|
||||
}
|
||||
|
||||
public boolean equals(Object other) {
|
||||
if (this == other) {
|
||||
return true;
|
||||
}
|
||||
if (!(other instanceof Tseaist02PK)) {
|
||||
return false;
|
||||
}
|
||||
Tseaist02PK castOther = (Tseaist02PK)other;
|
||||
return
|
||||
this.statcymd.equals(castOther.statcymd)
|
||||
&& this.eaibzwkdstcd.equals(castOther.eaibzwkdstcd)
|
||||
&& this.eaisvcname.equals(castOther.eaisvcname)
|
||||
&& this.intfacptrncd.equals(castOther.intfacptrncd)
|
||||
&& this.chnlmdiadstcd.equals(castOther.chnlmdiadstcd)
|
||||
&& this.logprcssserno.equals(castOther.logprcssserno)
|
||||
&& this.stndmsguseyn.equals(castOther.stndmsguseyn);
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
final int prime = 31;
|
||||
int hash = 17;
|
||||
hash = hash * prime + this.statcymd.hashCode();
|
||||
hash = hash * prime + this.eaibzwkdstcd.hashCode();
|
||||
hash = hash * prime + this.eaisvcname.hashCode();
|
||||
hash = hash * prime + this.intfacptrncd.hashCode();
|
||||
hash = hash * prime + this.chnlmdiadstcd.hashCode();
|
||||
hash = hash * prime + this.logprcssserno.hashCode();
|
||||
hash = hash * prime + this.stndmsguseyn.hashCode();
|
||||
|
||||
return hash;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user