feat():添加导出接口
parent
8b39b78159
commit
ea46221f09
|
@ -2,6 +2,7 @@ package com.muyu.cloud.pay.domain.resp;
|
|||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.muyu.cloud.pay.domain.OrderPayCustomer;
|
||||
import com.muyu.common.core.annotation.Excel;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import lombok.AllArgsConstructor;
|
||||
|
@ -30,18 +31,29 @@ public class CustomerResp {
|
|||
/**
|
||||
* 主键
|
||||
*/
|
||||
@Excel(
|
||||
name = "用户序号",
|
||||
cellType = Excel.ColumnType.NUMERIC,
|
||||
prompt = "用户编号"
|
||||
)
|
||||
@Schema(description = "客户ID", defaultValue = "1", type = "Long")
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 服务/客户名称
|
||||
*/
|
||||
@Excel(
|
||||
name = "登录名称"
|
||||
)
|
||||
@Schema(description = "客户名称", defaultValue = "商品服务", type = "String")
|
||||
private String appName;
|
||||
|
||||
/**
|
||||
* 服务/客户编码
|
||||
*/
|
||||
@Excel(
|
||||
name = "登录名称"
|
||||
)
|
||||
@Schema(description = "客户ID", defaultValue = "cloud_order", type = "String")
|
||||
private String appCode;
|
||||
|
||||
|
@ -49,11 +61,19 @@ public class CustomerResp {
|
|||
/**
|
||||
* 状态
|
||||
*/
|
||||
@Excel(
|
||||
name = "登录名称"
|
||||
)
|
||||
@Schema(description = "客户状态,同数据字典-系统是否", defaultValue = "Y", type = "String")
|
||||
private String status;
|
||||
|
||||
@Excel(
|
||||
name = "登录名称"
|
||||
)
|
||||
@Schema(description = "创建人", defaultValue = "muyu", type = "String")
|
||||
private String createBy;
|
||||
@Excel(
|
||||
name = "登录名称"
|
||||
)
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@Schema(description = "创建时间", defaultValue = "2024-8-1 0:22:36", type = "Date")
|
||||
private Date createTime;
|
||||
|
|
Loading…
Reference in New Issue