一.User模型: User.java: package com.java1234.model; public class User { private int id; private String userName; private String password; public User() { super(); // TODO Auto-generated constructor stub } public User(String userName, String password) {…