更新后端,采用Springboot+mybatis
This commit is contained in:
67
src/main/java/com/jsh/erp/datasource/entities/Unit.java
Normal file
67
src/main/java/com/jsh/erp/datasource/entities/Unit.java
Normal file
@@ -0,0 +1,67 @@
|
||||
package com.jsh.erp.datasource.entities;
|
||||
|
||||
public class Unit {
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column jsh_unit.id
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column jsh_unit.UName
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
private String uname;
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column jsh_unit.id
|
||||
*
|
||||
* @return the value of jsh_unit.id
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column jsh_unit.id
|
||||
*
|
||||
* @param id the value for jsh_unit.id
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column jsh_unit.UName
|
||||
*
|
||||
* @return the value of jsh_unit.UName
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public String getUname() {
|
||||
return uname;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column jsh_unit.UName
|
||||
*
|
||||
* @param uname the value for jsh_unit.UName
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public void setUname(String uname) {
|
||||
this.uname = uname == null ? null : uname.trim();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user