时间:2021-07-01 10:21:17 帮助过:41人阅读
四、开发
1、实体类
Hero.class
1 package com.zyz.demo4.domain; 2 3 /** 4 * Hero类跟表hero一一对应 5 */ 6 public class Hero { 7 private Integer id; 8 9 public Integer getId() { 10 return id; 11 } 12 13 public void setId(Integer id) { 14 this.id = id; 15 } 16 17 public String getName() { 18 return name; 19 } 20 21 public void setName(String name) { 22 this.name = name; 23 } 24 25 public Float getPower() { 26 return power; 27 } 28 29 public void setPower(Float power) { 30 this.power = power; 31 } 32 33 private String name; 34 private Float power; 35 }View Code
2、
spring boot实现数据库增、删、改查
标签:thymeleaf click onclick 表名 spl efi gif str bad