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