package com.zt.plat.module.base.controller.admin.base.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.zt.plat.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static com.zt.plat.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 账户条款分页 Request VO")
@Data
public class AccountPageReqVO extends PageParam {

    @Schema(description = "类型", example = "2")
    private String type;

    @Schema(description = "户名", example = "赵六")
    private String accountName;

    @Schema(description = "开户行", example = "2834")
    private String bankAccount;

    @Schema(description = "户号")
    private String accountNumber;

    @Schema(description = "税号/社会信用代码")
    private String taxNumber;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "是否启用")
    private String isEnable;

    @Schema(description = "客商公司编码")
    private String customerNumber;

    @Schema(description = "客商公司名称")
    private String customerName;

    @Schema(description = "地址")
    private String address;

    @Schema(description = "电话")
    private String phone;

}