给计量单位表增加三个字段

This commit is contained in:
季圣华
2020-03-27 00:43:31 +08:00
parent f1fba5f705
commit 89d2e29779
7 changed files with 498 additions and 534 deletions

View File

@@ -1,130 +1,72 @@
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 field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_unit.tenant_id
*
* @mbggenerated
*/
private String basicUnit;
private String otherUnit;
private Integer ratio;
private Long tenantId;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database column jsh_unit.delete_Flag
*
* @mbggenerated
*/
private String deleteFlag;
/**
* 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();
}
/**
* 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 String getBasicUnit() {
return basicUnit;
}
public void setBasicUnit(String basicUnit) {
this.basicUnit = basicUnit == null ? null : basicUnit.trim();
}
public String getOtherUnit() {
return otherUnit;
}
public void setOtherUnit(String otherUnit) {
this.otherUnit = otherUnit == null ? null : otherUnit.trim();
}
public Integer getRatio() {
return ratio;
}
public void setRatio(Integer ratio) {
this.ratio = ratio;
}
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;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column jsh_unit.delete_Flag
*
* @return the value of jsh_unit.delete_Flag
*
* @mbggenerated
*/
public String getDeleteFlag() {
return deleteFlag;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column jsh_unit.delete_Flag
*
* @param deleteFlag the value for jsh_unit.delete_Flag
*
* @mbggenerated
*/
public void setDeleteFlag(String deleteFlag) {
this.deleteFlag = deleteFlag == null ? null : deleteFlag.trim();
}