增加租户的功能
This commit is contained in:
@@ -17,6 +17,14 @@ public class Unit {
|
||||
*/
|
||||
private String uname;
|
||||
|
||||
/**
|
||||
* This field was generated by MyBatis Generator.
|
||||
* This field corresponds to the database column jsh_unit.tenant_id
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
private Long tenantId;
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column jsh_unit.id
|
||||
@@ -64,4 +72,28 @@ public class Unit {
|
||||
public void setUname(String uname) {
|
||||
this.uname = uname == null ? null : uname.trim();
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method returns the value of the database column jsh_unit.tenant_id
|
||||
*
|
||||
* @return the value of jsh_unit.tenant_id
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public Long getTenantId() {
|
||||
return tenantId;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method sets the value of the database column jsh_unit.tenant_id
|
||||
*
|
||||
* @param tenantId the value for jsh_unit.tenant_id
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
public void setTenantId(Long tenantId) {
|
||||
this.tenantId = tenantId;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user