Created
November 27, 2014 14:47
-
-
Save SergioLarios/0993867f082dc64fac3a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.hibu.chile.form; | |
import com.hibu.chile.util.BeanToString; | |
import com.hibu.chile.web.FormUtils.Param; | |
public class LoginForm extends BeanToString { | |
/* ******************************* | |
********* Form Fields *********** | |
****************************** */ | |
@Param(name = USER) | |
private String user; | |
@Param(name = PSSW) | |
private String pssw; | |
/* ******************************* | |
********* Form Names ************ | |
****************************** */ | |
public static final String USER = "login_user"; | |
public static final String PSSW = "login_pssw"; | |
/* ******************************* | |
****** Setters & Getters ******** | |
******************************* */ | |
public String getUser() { return user; } | |
public void setUser(String user) { this.user = user; } | |
public String getPssw() { return pssw; } | |
public void setPssw(String pssw) { this.pssw = pssw; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment