Commit debf076d authored by neo's avatar neo

[dev] add vat gen entity

parent fb4952df
...@@ -5,7 +5,7 @@ import java.io.Serializable; ...@@ -5,7 +5,7 @@ import java.io.Serializable;
/** /**
* *
* This class was generated by MyBatis Generator. * This class was generated by MyBatis Generator.
* This class corresponds to the database table FormulaCache * This class corresponds to the database table FORMULA_CACHE
* *
* @mbg.generated do_not_delete_during_merge * @mbg.generated do_not_delete_during_merge
*/ */
...@@ -13,24 +13,24 @@ public class FormulaCacheKey implements Serializable { ...@@ -13,24 +13,24 @@ public class FormulaCacheKey implements Serializable {
/** /**
* *
* This field was generated by MyBatis Generator. * This field was generated by MyBatis Generator.
* This field corresponds to the database column FormulaCache.ID * This field corresponds to the database column FORMULA_CACHE.PERIOD
* *
* @mbg.generated * @mbg.generated
*/ */
private String ID; private Integer period;
/** /**
* *
* This field was generated by MyBatis Generator. * This field was generated by MyBatis Generator.
* This field corresponds to the database column FormulaCache.Period * This field corresponds to the database column FORMULA_CACHE.ID
* *
* @mbg.generated * @mbg.generated
*/ */
private Integer period; private String id;
/** /**
* This field was generated by MyBatis Generator. * This field was generated by MyBatis Generator.
* This field corresponds to the database table FormulaCache * This field corresponds to the database table FORMULA_CACHE
* *
* @mbg.generated * @mbg.generated
*/ */
...@@ -38,55 +38,55 @@ public class FormulaCacheKey implements Serializable { ...@@ -38,55 +38,55 @@ public class FormulaCacheKey implements Serializable {
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method returns the value of the database column FormulaCache.ID * This method returns the value of the database column FORMULA_CACHE.PERIOD
* *
* @return the value of FormulaCache.ID * @return the value of FORMULA_CACHE.PERIOD
* *
* @mbg.generated * @mbg.generated
*/ */
public String getID() { public Integer getPeriod() {
return ID; return period;
} }
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method sets the value of the database column FormulaCache.ID * This method sets the value of the database column FORMULA_CACHE.PERIOD
* *
* @param ID the value for FormulaCache.ID * @param period the value for FORMULA_CACHE.PERIOD
* *
* @mbg.generated * @mbg.generated
*/ */
public void setID(String ID) { public void setPeriod(Integer period) {
this.ID = ID == null ? null : ID.trim(); this.period = period;
} }
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method returns the value of the database column FormulaCache.Period * This method returns the value of the database column FORMULA_CACHE.ID
* *
* @return the value of FormulaCache.Period * @return the value of FORMULA_CACHE.ID
* *
* @mbg.generated * @mbg.generated
*/ */
public Integer getPeriod() { public String getId() {
return period; return id;
} }
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method sets the value of the database column FormulaCache.Period * This method sets the value of the database column FORMULA_CACHE.ID
* *
* @param period the value for FormulaCache.Period * @param id the value for FORMULA_CACHE.ID
* *
* @mbg.generated * @mbg.generated
*/ */
public void setPeriod(Integer period) { public void setId(String id) {
this.period = period; this.id = id == null ? null : id.trim();
} }
/** /**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table FormulaCache * This method corresponds to the database table FORMULA_CACHE
* *
* @mbg.generated * @mbg.generated
*/ */
...@@ -96,8 +96,8 @@ public class FormulaCacheKey implements Serializable { ...@@ -96,8 +96,8 @@ public class FormulaCacheKey implements Serializable {
sb.append(getClass().getSimpleName()); sb.append(getClass().getSimpleName());
sb.append(" ["); sb.append(" [");
sb.append("Hash = ").append(hashCode()); sb.append("Hash = ").append(hashCode());
sb.append(", ID=").append(ID);
sb.append(", period=").append(period); sb.append(", period=").append(period);
sb.append(", id=").append(id);
sb.append("]"); sb.append("]");
return sb.toString(); return sb.toString();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment