懒羊羊
2023-08-30 1ac2bc1590406d9babec036e154d8d08f34a6aa1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
package ${package.EntitySpecResult};
 
import lombok.Data;
import java.util.Date;
import java.io.Serializable;
import java.math.BigDecimal;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
 
/**
 * <p>
 * $!{table.comment}
 * </p>
 *
 * @author ${author}
 * @since ${date}
 */
@Data
@ApiModel
public class ${entity}Result implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
#foreach($field in ${table.fields})
 
#if("$!field.comment" != "")
    /**
     * ${field.comment}
     */
#end
#if("$!field.propertyName" != "createTime" && "$!field.propertyName" != "createUser" && "$!field.propertyName" != "updateTime" && "$!field.propertyName" != "updateUser" && "$!field.propertyName" != "delFlag" && "$!field.propertyName" != "version")
    @ApiModelProperty("$!field.comment")
#else
    @ApiModelProperty(hidden = true)
#end
    private ${field.propertyType} ${field.propertyName};
#end
 
}