user.java
来自「是我自己在做java训练的时候做的一个小项目」· Java 代码 · 共 98 行
JAVA
98 行
package com.magic.mobile.vo;
// default package
/**
* User entity. @author MyEclipse Persistence Tools
*/
public class User implements java.io.Serializable {
// Fields
private Long userId;
private Account taccount;
private Mobile tmobile;
private Customer tcustomer;
private String roamingStatus;
private String comLevel;
// Constructors
/** default constructor */
public User() {
}
/** full constructor */
public User(Account taccount, Mobile tmobile, Customer tcustomer, String roamingStatus, String comLevel) {
this.taccount = taccount;
this.tmobile = tmobile;
this.tcustomer = tcustomer;
this.roamingStatus = roamingStatus;
this.comLevel = comLevel;
}
// Property accessors
public Long getUserId() {
return this.userId;
}
public void setUserId(Long userId) {
this.userId = userId;
}
public Account getTaccount() {
return this.taccount;
}
public void setTaccount(Account taccount) {
this.taccount = taccount;
}
public Mobile getTmobile() {
return this.tmobile;
}
public void setTmobile(Mobile tmobile) {
this.tmobile = tmobile;
}
public Customer getTcustomer() {
return this.tcustomer;
}
public void setTcustomer(Customer tcustomer) {
this.tcustomer = tcustomer;
}
public String getRoamingStatus() {
return this.roamingStatus;
}
public void setRoamingStatus(String roamingStatus) {
this.roamingStatus = roamingStatus;
}
public String getComLevel() {
return this.comLevel;
}
public void setComLevel(String comLevel) {
this.comLevel = comLevel;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?