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

import com.alibaba.excel.annotation.ExcelProperty;
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.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author lihaoli
 * @date 2025/3/26
 */
@Data
@ApiModel
@ContentStyle(
        borderBottom = BorderStyleEnum.THIN,
        borderLeft = BorderStyleEnum.THIN,
        borderRight = BorderStyleEnum.THIN,
        borderTop = BorderStyleEnum.THIN,
        bottomBorderColor = 8,
        topBorderColor = 8,
        leftBorderColor = 8,
        rightBorderColor = 8
)
public class YhXzbgLogSelect {
    @ExcelProperty(value = "编号")
    @ApiModelProperty(value = "编号")
    private String bh;

    @ExcelProperty(value = "用户编号")
    @ApiModelProperty(value = "用户编号")
    private String yhbh;

    @ExcelProperty(value = "用户姓名")
    @ApiModelProperty(value = "用户姓名")
    private String yhxm;

    @ExcelProperty(value = "用户地址")
    @ApiModelProperty(value = "用户地址")
    private String yhdz;

    @ExcelProperty(value = "原混合类型")
    @ApiModelProperty(value = "原混合类型")
    private String oldHhlxmc;

    @ExcelProperty(value = "新混合类型")
    @ApiModelProperty(value = "新混合类型")
    private String newHhlxmc;

    @ExcelProperty(value = "原用水类型编码")
    @ApiModelProperty(value = "原用水类型名称")
    private String oldYslxmc;

    @ExcelProperty(value = "新用水类型编码")
    @ApiModelProperty(value = "新用水类型名称")
    private String newYslxmc;

    @ExcelProperty(value = "变更状态")
    @ApiModelProperty(value = "变更方向（0不变，1低改高，2高改低）")
    private String bgfx;

    @ExcelProperty(value = "变更内容")
    @ApiModelProperty(value = "变更内容")
    private String bgnr;

    @ExcelProperty(value = "变更原因")
    @ApiModelProperty(value = "变更原因")
    private String bgyy;

    @ExcelProperty(value = "备注")
    @ApiModelProperty(value = "备注")
    private String bz;

    @ExcelProperty(value = "变更日期")
    @ApiModelProperty(value = "变更日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date bgsj;

    @ExcelProperty(value = "操作人员")
    @ApiModelProperty(value = "操作人员")
    private String czryxm;
}
