package org.dromara.facility.domain.vo.photovoltaicpanelpoint;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import org.dromara.facility.domain.FacPhotovoltaicPanelPoint;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;


/**
 * 设施-光伏板桩点视图对象 fac_photovoltaic_panel_point
 *
 * @author lcj
 * @date 2025-04-21
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = FacPhotovoltaicPanelPoint.class)
public class FacPhotovoltaicPanelPointVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long id;

    /**
     * 项目id
     */
    @ExcelProperty(value = "项目id")
    private Long projectId;

    /**
     * 方阵id
     */
    @ExcelProperty(value = "方阵id")
    private Long matrixId;

    /**
     * 光伏板桩点名称
     */
    @ExcelProperty(value = "光伏板桩点名称")
    private String name;

    /**
     * 光伏板桩点位置
     */
    @ExcelProperty(value = "光伏板桩点位置")
    private String positions;

    /**
     * 光伏板桩点位置
     */
    private List<String> positionList;

    /**
     * 完成状态（0未开始 1进行中 2完成）
     */
    @ExcelProperty(value = "完成状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "0=未开始,1=进行中,2=完成")
    private String status;

    /**
     * 完成类型（1手动填报 2AI填报）
     */
    @ExcelProperty(value = "完成类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "1=手动填报,2=AI填报")
    private String finishType;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;


}
