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
|
|
}
|