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; import java.math.BigDecimal; 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; private String payMethod; private String bindPhone; @ExcelProperty(value = "资金类型", index = 5, converter = FlowTypeConverter.class) private Integer flowType; /** * 来源 */ private String fromMemberName; }