Files
elink-online-core/src/model/Tseaiau04PK.java
T
Rinjae 0f148e997e init
2025-09-05 18:34:26 +09:00

57 lines
1.3 KiB
Java

package model;
import java.io.Serializable;
import javax.persistence.*;
/**
* The primary key class for the tseaiau04 database table.
*
*/
@Embeddable
public class Tseaiau04PK implements Serializable {
//default serial version id, required for serializable classes.
private static final long serialVersionUID = 1L;
@Column(unique=true, nullable=false, length=200)
private String bzwksvckeyname;
@Column(unique=true, nullable=false, length=128)
private String scopeid;
public Tseaiau04PK() {
}
public String getBzwksvckeyname() {
return this.bzwksvckeyname;
}
public void setBzwksvckeyname(String bzwksvckeyname) {
this.bzwksvckeyname = bzwksvckeyname;
}
public String getScopeid() {
return this.scopeid;
}
public void setScopeid(String scopeid) {
this.scopeid = scopeid;
}
public boolean equals(Object other) {
if (this == other) {
return true;
}
if (!(other instanceof Tseaiau04PK)) {
return false;
}
Tseaiau04PK castOther = (Tseaiau04PK)other;
return
this.bzwksvckeyname.equals(castOther.bzwksvckeyname)
&& this.scopeid.equals(castOther.scopeid);
}
public int hashCode() {
final int prime = 31;
int hash = 17;
hash = hash * prime + this.bzwksvckeyname.hashCode();
hash = hash * prime + this.scopeid.hashCode();
return hash;
}
}