parent
3fd54a5502
commit
ac63e29d15
@ -0,0 +1,53 @@
|
||||
package xyz.wbsite.dbtool.javafx.po;
|
||||
|
||||
import xyz.wbsite.dbtool.javafx.annotation.Property;
|
||||
import xyz.wbsite.dbtool.javafx.tool.Tool;
|
||||
|
||||
public class TableMethod {
|
||||
|
||||
public TableMethod() {
|
||||
}
|
||||
|
||||
public TableMethod(String name, String note, boolean selected) {
|
||||
this.name = name;
|
||||
this.note = note;
|
||||
this.selected = selected;
|
||||
}
|
||||
|
||||
@Property("name")
|
||||
private String name;
|
||||
|
||||
@Property("note")
|
||||
private String note;
|
||||
|
||||
@Property("selected")
|
||||
private boolean selected;
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getNote() {
|
||||
return note;
|
||||
}
|
||||
|
||||
public void setNote(String note) {
|
||||
this.note = note;
|
||||
}
|
||||
|
||||
public boolean isSelected() {
|
||||
return selected;
|
||||
}
|
||||
|
||||
public void setSelected(boolean selected) {
|
||||
this.selected = selected;
|
||||
}
|
||||
|
||||
public String getAbbName() {
|
||||
return Tool.abb2Abb(this.name);
|
||||
}
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package ${domain}.module.${moduleName}.req;
|
||||
|
||||
import ${domain}.frame.base.BaseRequest;
|
||||
|
||||
/**
|
||||
* ${table.getCName()}${method?default("")}Request - ${table.tableComment}${methodNote?default("")}
|
||||
*
|
||||
* @author ${author?default("")}
|
||||
* @version 0.0.1
|
||||
* @since ${.now?string["yyyy-MM-dd"]}
|
||||
*/
|
||||
public class ${table.getCName()}${method?default("")}Request extends BaseRequest {
|
||||
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package ${domain}.module.${moduleName}.rsp;
|
||||
|
||||
import ${domain}.frame.base.BaseResponse;
|
||||
|
||||
/**
|
||||
* ${table.getCName()}${method?default("")}Response - ${table.tableComment}${methodNote?default("")}
|
||||
*
|
||||
* @author ${author?default("")}
|
||||
* @version 0.0.1
|
||||
* @since ${.now?string["yyyy-MM-dd"]}
|
||||
*/
|
||||
public class ${table.getCName()}${method?default("")}Response extends BaseResponse {
|
||||
|
||||
}
|
Loading…
Reference in new issue