mirror of
https://github.com/continew-org/continew-admin.git
synced 2025-09-14 21:01:43 +08:00
41 lines
856 B
Plaintext
41 lines
856 B
Plaintext
package ${packageName}.${subPackageName};
|
|
|
|
import java.io.Serial;
|
|
<#if hasLocalDateTimeField>
|
|
import java.time.LocalDateTime;
|
|
</#if>
|
|
<#if hasBigDecimalField>
|
|
import java.math.BigDecimal;
|
|
</#if>
|
|
|
|
import lombok.Data;
|
|
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
|
|
import top.continew.starter.extension.crud.model.resp.BaseResp;
|
|
|
|
/**
|
|
* ${businessName}信息
|
|
*
|
|
* @author ${author}
|
|
* @since ${date}
|
|
*/
|
|
@Data
|
|
@Schema(description = "${businessName}信息")
|
|
public class ${className} extends BaseResp {
|
|
|
|
@Serial
|
|
private static final long serialVersionUID = 1L;
|
|
<#if fieldConfigs??>
|
|
<#list fieldConfigs as fieldConfig>
|
|
<#if fieldConfig.showInList>
|
|
|
|
/**
|
|
* ${fieldConfig.comment}
|
|
*/
|
|
@Schema(description = "${fieldConfig.comment}")
|
|
private ${fieldConfig.fieldType} ${fieldConfig.fieldName};
|
|
</#if>
|
|
</#list>
|
|
</#if>
|
|
} |