📄 customertypepk.java
字号:
package com.relationinfo.customertrace.dto;
import java.io.Serializable;
/**
* This class represents the primary key of the customerType table.
*/
public class CustomerTypePk implements Serializable
{
private String customertypecode;
/**
* 设置 customertypecode
*/
public void setCustomertypecode(String customertypecode)
{
this.customertypecode = customertypecode;
}
/**
* 获得 customertypecode
*/
public String getCustomertypecode()
{
return customertypecode;
}
/**
* Method 'CustomerTypePk'
*
*/
public CustomerTypePk()
{
}
/**
* Method 'CustomerTypePk'
*
* @param customertypecode
*/
public CustomerTypePk( String customertypecode)
{
this.customertypecode = customertypecode;
}
/**
* Method 'equals'
*
* @param _other
* @return boolean
*/
public boolean equals(Object _other)
{
if (_other == null) {
return false;
}
if (_other == this) {
return true;
}
if (!(_other instanceof CustomerTypePk)) {
return false;
}
CustomerTypePk _cast = (CustomerTypePk) _other;
if (customertypecode == null ? _cast.customertypecode != customertypecode : !customertypecode.equals( _cast.customertypecode )) {
return false;
}
return true;
}
/**
* Method 'hashCode'
*
* @return int
*/
public int hashCode()
{
int _hashCode = 0;
if (customertypecode != null) {
_hashCode = 29 * _hashCode + customertypecode.hashCode();
}
return _hashCode;
}
/**
* Method 'toString'
*
* @return String
*/
public String toString()
{
StringBuffer ret = new StringBuffer();
ret.append( "com.mycompany.myapp.dto.CustomerTypePk: " );
ret.append( "customertypecode='" + customertypecode + "'" );
return ret.toString();
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -