src/com/hp/entity/User.java

(开头部分) 1KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

package com.hp.entity;

/**
 * User entity. @author MyEclipse Persistence Tools
 */

public class User implements java.io.Serializable {

	// Fields

	private Integer id;
	private Role role;
	private String username;
	private String password;
	private Integer age;
	private String email;
	private String phone;
	private String rolename;
	// Constructors

	/** default constructor */
	public User() {
	}

	/** minimal constructor */
	public User(Role role, String username) {
		this.role = role;
		this.username = username;
	}

	/** full constructor */
	public User(Role role, String username, String password, Integer age,
			String email, String phone) {
		this.role = role;
		this.username = username;
		this.password = password;
		this.age = age;
		this.email = email;
		this.phone = phone;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public String getRolename() {
		return rolename;
	}

	public void setRolename(String rolename) {
		this.rolename = rolename;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Role getRole() {
后面还有 48 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。