package org.jisonami.entity;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

@Entity
@Table(name="t_user")
public class User implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	public User(){}
	@Id
	@GeneratedValue(generator="usergenerator")
	@GenericGenerator(name="usergenerator", strategy="uuid")
	private String id;
	private String name;
	private String password;
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	
}

@@ -941,14 +941,144 @@
 d;%0D%0A%09%7D%0D%0A
+%09@Override%0D%0A%09public String toString() %7B%0D%0A%09%09return %22User %5Bid=%22 + id + %22, name=%22 + name + %22, password=%22 + password%0D%0A%09%09%09%09+ %22%5D%22;%0D%0A%09%7D%0D%0A
 %09%0D%0A%7D%0D%0A

add toString method