实现文件上传和数据库记录、Element+vue登录注册UI

This commit is contained in:
F嘉阳
2018-02-03 20:44:25 +08:00
parent bc720e6270
commit b9d60e644b
23 changed files with 846 additions and 24 deletions

View File

@@ -2,17 +2,21 @@ package com.fjy.spring.domain;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.validation.constraints.NotNull;
@Entity
public class TbUser {
@Id
@GeneratedValue
private Integer coluserid;
@NotNull(message = "用户名必填")
private String colname;
@NotNull(message = "密码不能为空")
private String colpassword;
private String colemail;
@NotNull(message = "学号必填")
private String colstudentno;
@NotNull(message = "真实姓名必填")
private String colrealname;
public Integer getColuserid() {