package cn.iocoder.lyzsys.module.tjt.controller.admin.report.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Collections;
import java.util.List;

@Schema(description = "管理后台 - 工程负责人年度表预览 Response VO")
@Data
public class ProjectLeadQuarterOutputPreviewRespVO {

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

    @Schema(description = "预览年度")
    private Integer year;

    @Schema(description = "项目经理人员名称，多个使用 / 分隔")
    private String projectManagerNames;

    @Schema(description = "工程负责人人员名称，多个使用 / 分隔")
    private String engineeringPrincipalNames;

    @Schema(description = "预览行")
    private List<LeadQuarterRow> rows = Collections.emptyList();

    @Schema(description = "工程负责人年度表预览行")
    @Data
    public static class LeadQuarterRow {

        @Schema(description = "序号")
        private Integer serialNo;

        @Schema(description = "产值类型")
        private String outputType;

        @Schema(description = "设计内容")
        private String designContent;

        @Schema(description = "是否小计行")
        private Boolean subtotalRow;

        @Schema(description = "项目经理人员名称")
        private String projectManagerNames;

        @Schema(description = "项目经理工作比例")
        private BigDecimal projectManagerRatio;

        @Schema(description = "工程负责人人员名称")
        private String engineeringPrincipalNames;

        @Schema(description = "工程负责人工作比例")
        private BigDecimal engineeringPrincipalRatio;

        @Schema(description = "项目经理一季度金额，万元")
        private BigDecimal projectManagerQuarterOneAmountWan;

        @Schema(description = "项目经理二季度金额，万元")
        private BigDecimal projectManagerQuarterTwoAmountWan;

        @Schema(description = "项目经理三季度金额，万元")
        private BigDecimal projectManagerQuarterThreeAmountWan;

        @Schema(description = "项目经理四季度金额，万元")
        private BigDecimal projectManagerQuarterFourAmountWan;

        @Schema(description = "项目经理本年度小计，万元")
        private BigDecimal projectManagerYearTotalAmountWan;

        @Schema(description = "工程负责人一季度金额，万元")
        private BigDecimal engineeringPrincipalQuarterOneAmountWan;

        @Schema(description = "工程负责人二季度金额，万元")
        private BigDecimal engineeringPrincipalQuarterTwoAmountWan;

        @Schema(description = "工程负责人三季度金额，万元")
        private BigDecimal engineeringPrincipalQuarterThreeAmountWan;

        @Schema(description = "工程负责人四季度金额，万元")
        private BigDecimal engineeringPrincipalQuarterFourAmountWan;

        @Schema(description = "工程负责人本年度小计，万元")
        private BigDecimal engineeringPrincipalYearTotalAmountWan;

    }

}
