/connect-web/src/main/java/org/osforce/connect/web/module/system/LoginBean.java
http://focus-sns.googlecode.com/ · Java · 47 lines · 30 code · 10 blank · 7 comment · 0 complexity · 66ef9c1bdc0487d634b2c406bdd7d1c5 MD5 · raw file
- package org.osforce.connect.web.module.system;
- import org.hibernate.validator.constraints.Email;
- import org.hibernate.validator.constraints.NotBlank;
- /**
- *
- * @author <a href="mailto:haozhonghu@hotmail.com">gavin</a>
- * @since 1.1.0
- * @create May 19, 2011 - 8:58:52 PM
- * <a href="http://www.opensourceforce.org">????</a>
- */
- public class LoginBean {
- @NotBlank @Email
- private String username;
- @NotBlank
- private String password;
- private Boolean rememberMe = true;
- public LoginBean() {
- }
- public String getUsername() {
- return username;
- }
- public void setUsername(String username) {
- this.username = username;
- }
- public String getPassword() {
- return password;
- }
- public void setPassword(String password) {
- this.password = password;
- }
- public Boolean getRememberMe() {
- return rememberMe;
- }
- public void setRememberMe(Boolean rememberMe) {
- this.rememberMe = rememberMe;
- }
- }