// Path: src/main/java/org/myazure/weixin/domain/MaRole.java
// public enum MaRole {
//     USER, ADMIN
// }


import javax.validation.constraints.NotNull;
import org.hibernate.validator.constraints.NotEmpty;
import org.myazure.weixin.domain.MaRole;
package org.myazure.weixin.domain.entity;



/**
 * 
 * @author WangZhen
 *
 */
public class MaUserEntity {

	@NotEmpty
    private Long id;
	
    @NotEmpty
    private String userName = "";

    private String password = "";

    private String passwordRepeated = "";

    @NotNull
// Path: src/main/java/org/myazure/weixin/domain/MaRole.java
// public enum MaRole {
//     USER, ADMIN
// }


// Path: src/main/java/org/myazure/weixin/domain/entity/MaUserEntity.java
import javax.validation.constraints.NotNull;
import org.hibernate.validator.constraints.NotEmpty;
import org.myazure.weixin.domain.MaRole;

package org.myazure.weixin.domain.entity;



/**
 * 
 * @author WangZhen
 *
 */
public class MaUserEntity {

	@NotEmpty
    private Long id;
	
    @NotEmpty
    private String userName = "";

    private String password = "";

    private String passwordRepeated = "";

    @NotNull
    private MaRole role = MaRole.USER;