package com.github.kazuki43zoo.app.auth; import javax.validation.constraints.NotNull; import java.io.Serializable; @lombok.AllArgsConstructor @lombok.NoArgsConstructor @lombok.Data @lombok.ToString(exclude = "password") public final class LoginForm implements Serializable { private static final long serialVersionUID = 1L; @NotNull private String username; @NotNull private String password; }