GeneratorParam.java 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. package com.gitee.gen.common;
  2. import java.util.List;
  3. public class GeneratorParam {
  4. /** datasource_config主键 */
  5. private int datasourceConfigId;
  6. /** 表名 */
  7. private List<String> tableNames;
  8. /** template_config主键 */
  9. private List<Integer> templateConfigIdList;
  10. private String packageName;
  11. private String delPrefix;
  12. private String charset = "UTF-8";
  13. public int getDatasourceConfigId() {
  14. return datasourceConfigId;
  15. }
  16. public void setDatasourceConfigId(int datasourceConfigId) {
  17. this.datasourceConfigId = datasourceConfigId;
  18. }
  19. public List<String> getTableNames() {
  20. return tableNames;
  21. }
  22. public void setTableNames(List<String> tableNames) {
  23. this.tableNames = tableNames;
  24. }
  25. public List<Integer> getTemplateConfigIdList() {
  26. return templateConfigIdList;
  27. }
  28. public void setTemplateConfigIdList(List<Integer> templateConfigIdList) {
  29. this.templateConfigIdList = templateConfigIdList;
  30. }
  31. public String getPackageName() {
  32. return packageName;
  33. }
  34. public void setPackageName(String packageName) {
  35. this.packageName = packageName;
  36. }
  37. public String getDelPrefix() {
  38. return delPrefix;
  39. }
  40. public void setDelPrefix(String delPrefix) {
  41. this.delPrefix = delPrefix;
  42. }
  43. public String getCharset() {
  44. return charset;
  45. }
  46. public void setCharset(String charset) {
  47. this.charset = charset;
  48. }
  49. @Override
  50. public String toString() {
  51. return "GeneratorParam{" +
  52. "datasourceConfigId=" + datasourceConfigId +
  53. ", tableNames=" + tableNames +
  54. ", templateConfigIdList=" + templateConfigIdList +
  55. ", packageName='" + packageName + '\'' +
  56. ", delPrefix='" + delPrefix + '\'' +
  57. ", charset='" + charset + '\'' +
  58. '}';
  59. }
  60. }