package com.njcn.device.pq.pojo.param;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.njcn.db.bo.BaseEntity;
import com.njcn.web.pojo.param.BaseParam;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.format.DateTimeFormatter;
import java.util.Date;

/**
 * @Author: cdf
 * @CreateTime: 2026-07-29
 * @Description:
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class PqSubstationExpendParam extends BaseParam {

    /**
     * 主键
     */
    private String id;

    @NotBlank(message = "名称不能为空")
    private String name;

    @NotBlank(message = "地市不可为空")
    private String pid;

    private String scale;

    private BigDecimal lng;

    private BigDecimal lat;

    /**
     * 负荷容量
     */
    private BigDecimal loadCap;

    /**
     * 地址
     */
    private String address;

    /**
     * 最高电压等级
     */
    private Integer maxVoltageType;

    /**
     * 投运日期
     */
    DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd");
    private LocalDate operateDate;

    /**
     * 运行状态
     */
    private Integer operateState;

    /**
     * 所属业主
     */
    private String owner;

    /**
     * 联系电话
     */
    private String phoneNo;

    /**
     * 场站类型
     */
    private String plantType;

    /**
     * 报告附件地址
     */
    private String reportUrl;

    /**
     * 排序
     */
    private Integer sort;



}
