package cn.iocoder.yudao.module.cus.controller.admin.management.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 客户管理分页 Request VO")
@Data
public class ManagementPageReqVO extends PageParam {

    @Schema(description = "客户编码")
    private String customerCode;

    @Schema(description = "客户名称", example = "张三")
    private String customerName;

    @Schema(description = "备注", example = "随便")
    private String remark;

    @Schema(description = "售后负责人")
    private String afterSalesManager;

    @Schema(description = "国家编码")
    private String countryCode;

    @Schema(description = "国家名称", example = "王五")
    private String countryName;

    @Schema(description = "省编码")
    private String provinceCode;

    @Schema(description = "省名称", example = "王五")
    private String provinceName;

    @Schema(description = "城市编码")
    private String cityCode;

    @Schema(description = "城市名称", example = "赵六")
    private String cityName;

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

    @Schema(description = "经度")
    private BigDecimal longitude;

    @Schema(description = "纬度")
    private BigDecimal latitude;

    @Schema(description = "数据库IP")
    private String dbIp;

    @Schema(description = "数据库端口")
    private Integer dbPort;

    @Schema(description = "数据库账号", example = "赵六")
    private String dbUsername;

    @Schema(description = "数据库密码")
    private String dbPassword;

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

}