package cn.iocoder.yudao.module.pms.controller.admin.iotoperationmeetingdetail.vo;

import lombok.*;
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 java.util.Collection;

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

@Schema(description = "管理后台 - 生产运营会明细分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class IotOperationMeetingDetailPageReqVO extends PageParam {

    @Schema(description = "运营会明细id", example = "25792")
    private Long Id;

    @Schema(description = "运营会id", example = "25792")
    private Long meetingId;

    @Schema(description = "公司id", example = "15439")
    private Long companyId;

    @Schema(description = "项目部id", example = "8560")
    private Long deptId;

    @Schema(description = "会议日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] meetingDate;

    @Schema(description = "项目名称")
    private String projectName;

    @Schema(description = "会议期次")
    private String meetingSeries;

    @Schema(description = "本期收入(万元)")
    private BigDecimal currentRevenue;

    @Schema(description = "累计收入(万元)")
    private BigDecimal cumulativeRevenue;

    @Schema(description = "本期挂账(万元)", example = "27720")
    private BigDecimal currentOnAccount;

    @Schema(description = "累计挂账(万元)", example = "8899")
    private BigDecimal cumulativeOnAccount;

    @Schema(description = "本期回款(万元)")
    private BigDecimal currentPayment;

    @Schema(description = "累计回款(万元)")
    private BigDecimal cumulativePayment;

    @Schema(description = "本期生产运行情况-计划工作量")
    private String plannedWorkload;

    @Schema(description = "本期生产运行情况-实际完成")
    private String actualCompletion;

    @Schema(description = "本期生产运行情况-设备利用率")
    private String equipmentUtilizationRate;

    @Schema(description = "生产管理情况及重点工作-重点工作及完成情况")
    private String keyWorkCompletion;

    @Schema(description = "生产管理情况及重点工作-存在问题及分析")
    private String problemsAnalysis;

    @Schema(description = "下期工作计划-计划工作量")
    private String nextPlannedWorkload;

    @Schema(description = "下期工作计划-重点工作事项")
    private String priorityTasks;

    @Schema(description = "需集团协调支持的事项")
    private String support;

    @Schema(description = "排序值")
    private Integer sort;

    @Schema(description = "备注", example = "你猜")
    private String remark;

    @Schema(description = "状态(2填写中 0待填写 1已完成)", example = "2")
    private Integer status;

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

    /**
     * 扩展字段
     */
    @Schema(description = "运营会id集合", example = "[123,456]")
    private Collection<Long> meetingIds;

    @Schema(description = "年份", example = "2026")
    private Integer year;
}