You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
594 B
29 lines
594 B
package ${basePackage}.module.${moduleName}.req;
|
|
|
|
import ${basePackage}.frame.base.BaseRequest;
|
|
import javax.validation.constraints.NotNull;
|
|
|
|
/**
|
|
* ${table.getCName()}GetRequest - ${table.tableComment}获取
|
|
*
|
|
* @author ${author?default("")}
|
|
* @version 0.0.1
|
|
* @since ${.now?string["yyyy-MM-dd"]}
|
|
*/
|
|
public class ${table.getCName()}GetRequest extends BaseRequest {
|
|
|
|
/**
|
|
* 主键.
|
|
*/
|
|
@NotNull(message = "[id]主键不能为空")
|
|
private long id;
|
|
|
|
public long getId() {
|
|
return this.id;
|
|
}
|
|
|
|
public void setId(long id) {
|
|
this.id = id;
|
|
}
|
|
}
|