⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 usertypevo.java

📁 这是本人在学习T4SH框架时
💻 JAVA
字号:
package com.zxx.tsh.view.userinfo.vo;

public class UserTypeVO {
	private String typeId;
    private String typeName;
    private String typeDescription;
	
    public String getTypeDescription() {
		return typeDescription;
	}
	
    public void setTypeDescription(String typeDescription) {
		this.typeDescription = typeDescription;
	}
	
    public String getTypeId() {
		return typeId;
	}
	
    public void setTypeId(String typeId) {
		this.typeId = typeId;
	}
	
    public String getTypeName() {
		return typeName;
	}
	
    public void setTypeName(String typeName) {
		this.typeName = typeName;
	}

	@Override
	public int hashCode() {
		final int PRIME = 31;
		int result = 1;
		result = PRIME * result + ((typeDescription == null) ? 0 : typeDescription.hashCode());
		result = PRIME * result + ((typeId == null) ? 0 : typeId.hashCode());
		result = PRIME * result + ((typeName == null) ? 0 : typeName.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		final UserTypeVO other = (UserTypeVO) obj;
		if (typeDescription == null) {
			if (other.typeDescription != null)
				return false;
		} else if (!typeDescription.equals(other.typeDescription))
			return false;
		if (typeId == null) {
			if (other.typeId != null)
				return false;
		} else if (!typeId.equals(other.typeId))
			return false;
		if (typeName == null) {
			if (other.typeName != null)
				return false;
		} else if (!typeName.equals(other.typeName))
			return false;
		return true;
	}

	public String toString() {
		StringBuffer ret = new StringBuffer();
		ret.append("com.zxx.tsh.view.userinfo.vo.UserTypeVO: typeId=[");
		ret.append( typeId);
		ret.append("] typeName=[");
		ret.append(typeName);
		ret.append("] typeDescription=[");
		ret.append(typeDescription);
		ret.append("]");
		return ret.toString();
	}
    
    
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -