package com.tofly.feesapi.mxcx.entity.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.enums.poi.BorderStyleEnum;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author lihaoli
 * @date 2024/12/24
 */
@Data
@ColumnWidth(10)
@ContentStyle(
        borderBottom = BorderStyleEnum.THIN,
        borderLeft = BorderStyleEnum.THIN,
        borderRight = BorderStyleEnum.THIN,
        borderTop = BorderStyleEnum.THIN,
        bottomBorderColor = 8,
        topBorderColor = 8,
        leftBorderColor = 8,
        rightBorderColor = 8
)
public class YffkjmxcxSelect {
    @ExcelProperty("用户编号")
    @ApiModelProperty("用户编号")
    private String yhbh;
    @ExcelProperty("用户姓名")
    @ApiModelProperty("用户姓名")
    private String yhxm;
    @ExcelProperty("用户地址")
    @ApiModelProperty("用户地址")
    private String yhdz;
    @ExcelProperty("联系电话")
    @ApiModelProperty("联系电话")
    private String lxdh;
    @ExcelProperty("流水编号")
    @ApiModelProperty("流水编号")
    private String lsbh;
    @ExcelProperty("财务日期")
    @ApiModelProperty("财务日期")
    private String cwrq;
    @ExcelProperty("上次余额")
    @ApiModelProperty("上次余额")
    private BigDecimal scye;
    @ExcelProperty("本次扣减")
    @ApiModelProperty("本次扣减")
    private String bckj;
    @ExcelProperty("本次余额")
    @ApiModelProperty("本次余额")
    private String bcye;
    @ExcelProperty("操作人员")
    @ApiModelProperty("操作人员")
    private String czry;
    @ExcelProperty("扣减时间")
    @ApiModelProperty("扣减时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date kjrq;
    @ExcelProperty("备注")
    @ApiModelProperty("备注")
    private String bz;
}
