/** * 版权声明:中图一购网络科技有限公司 版权所有 违者必究 2012 * 日 期:12-7-14 */ package com.rop.sample.request; import com.rop.AbstractRopRequest; import com.rop.annotation.IgnoreSign; import javax.validation.constraints.NotNull; import javax.validation.constraints.Pattern; /** * <pre> * 功能说明: * </pre> * * @author 陈雄华 * @version 1.0 */ public class LogonRequest extends AbstractRopRequest{ @NotNull @Pattern(regexp = "\\w{4,30}") private String userName; @IgnoreSign @Pattern(regexp = "\\w{6,30}") private String password; 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; } }