fix
Hentua
2023-06-15 8bf923b44bbe9b45b73ddcc25df75c9c59f54e07
src/main/java/cc/mrbird/febs/mall/vo/AdminMoneyFlowListVo.java
@@ -1,5 +1,9 @@
package cc.mrbird.febs.mall.vo;
import cc.mrbird.febs.mall.excel.FlowTypeConverter;
import cc.mrbird.febs.mall.excel.MoneyFlowTypeConverter;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.Data;
@@ -8,26 +12,33 @@
import java.util.Date;
@Data
@ExcelIgnoreUnannotated
@ApiModel(value = "AdminMoneyFlowListVo", description = "信息返回类")
public class AdminMoneyFlowListVo {
    private Long id;
    @ExcelProperty(value = "时间", index = 6)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createdTime;
    @ExcelProperty(value = "金额", index = 3)
    private BigDecimal amount;
    @ExcelProperty(value = "流水类型", index = 4, converter = MoneyFlowTypeConverter.class)
    private Integer type;
    @ExcelProperty(value = "订单编号", index = 7)
    private String orderNo;
    private String description;
    private String remark;
    @ExcelProperty(value = "名称", index = 1)
    private String name;
    @ExcelProperty(value = "账号", index = 2)
    private String phone;
    private Integer status;
@@ -36,4 +47,11 @@
    private String bindPhone;
    @ExcelProperty(value = "资金类型", index = 5, converter = FlowTypeConverter.class)
    private Integer flowType;
    /**
     * 来源
     */
    private String fromMemberName;
}