package org.minimalj.security.model;

import org.minimalj.model.Keys;
import org.minimalj.model.annotation.NotEmpty;
import org.minimalj.model.annotation.Size;

public class UserPassword {
	public static final UserPassword $ = Keys.of(UserPassword.class);

	@Size(255) @NotEmpty
	public String user;

	@Size(255)
	public char[] password;

}
@@ -31,16 +31,46 @@
 model;%0A%0A
+import java.io.Serializable;%0A%0A
 import o
@@ -214,9 +214,84 @@
 ord 
-%7B
+implements Serializable %7B%0A%09private static final long serialVersionUID = 1L;%0A
 %0A%09pu

must be serializable