33 lines
810 B
Plaintext
33 lines
810 B
Plaintext
package ${cfg.PackageParent}#if(${package.ModuleName}).${package.ModuleName}#end.api.vo;
|
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
import lombok.Data;
|
|
|
|
import java.io.Serializable;
|
|
import java.time.LocalDateTime;
|
|
|
|
/**
|
|
* <p>
|
|
* $!{table.comment} 实体VO
|
|
* </p>
|
|
*
|
|
* @author ${author}
|
|
* @since ${date}
|
|
*/
|
|
@Data
|
|
public class ${className}Vo implements Serializable {
|
|
|
|
private static final long serialVersionUID=1L;
|
|
|
|
private String id;
|
|
private Integer status;
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
|
private LocalDateTime createTime;
|
|
|
|
## ---------- BEGIN 字段循环遍历 ----------
|
|
#foreach($field in ${table.fields})
|
|
private ${field.propertyType} ${field.propertyName};
|
|
#end
|
|
## ---------- END 字段循环遍历 ----------
|
|
}
|