实现文件上传和数据库记录、Element+vue登录注册UI
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user