41 lines
838 B
Plaintext
41 lines
838 B
Plaintext
|
|
package ${packageName}.${subPackageName};
|
||
|
|
|
||
|
|
import lombok.Data;
|
||
|
|
|
||
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||
|
|
|
||
|
|
import top.ysoft.admin.common.model.resp.BaseDetailResp;
|
||
|
|
|
||
|
|
import java.io.Serial;
|
||
|
|
<#if hasTimeField>
|
||
|
|
import java.time.*;
|
||
|
|
</#if>
|
||
|
|
<#if hasBigDecimalField>
|
||
|
|
import java.math.BigDecimal;
|
||
|
|
</#if>
|
||
|
|
|
||
|
|
/**
|
||
|
|
* ${businessName}信息
|
||
|
|
*
|
||
|
|
* @author ${author}
|
||
|
|
* @since ${datetime}
|
||
|
|
*/
|
||
|
|
@Data
|
||
|
|
@Schema(description = "${businessName}信息")
|
||
|
|
public class ${className} extends BaseDetailResp {
|
||
|
|
|
||
|
|
@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>
|
||
|
|
}
|