package org.dromara.project.domain.vo.workerdailyreport;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.project.domain.BusWorkerDailyReport;
import org.dromara.project.domain.vo.dailypieceitem.BusDailyPieceItemVo;

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


/**
 * 施工人员日报视图对象 bus_worker_daily_report
 *
 * @author lcj
 * @date 2025-04-09
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = BusWorkerDailyReport.class)
public class BusWorkerDailyReportVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    private Long id;

    /**
     * 班组id
     */
    private Long teamId;

    /**
     * 班组名字
     */
    private String teamName;

    /**
     * 申请人id
     */
    private Long userId;

    /**
     * 申请人名字
     */
    @ExcelProperty(value = "申请人名字")
    private String userName;

    /**
     * 今日完成工作
     */
    @ExcelProperty(value = "今日完成工作")
    private String todayCompletedWork;

    /**
     * 未完成工作
     */
    @ExcelProperty(value = "未完成工作")
    private String unfinishedWork;

    /**
     * 明日工作
     */
    @ExcelProperty(value = "明日工作")
    private String tomorrowWork;

    /**
     * 需协调与帮助
     */
    @ExcelProperty(value = "需协调与帮助")
    private String coordinationHelp;

    /**
     * 是否为补卡（1不是 2是）
     */
    private Long isResubmit;

    /**
     * 补交理由
     */
    @ExcelProperty(value = "补交理由")
    private String resubmitReason;

    /**
     * 日报日期
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING,
        pattern = "yyyy-MM-dd",
        timezone = "GMT+8")
    @ExcelProperty(value = "打卡日期")
    private Date reportDate;

    /**
     * 附件
     */
    private List<String> fileList;

    /**
     * 附件id
     */
    private String file;

    /**
     * 日报明细
     */
    private List<BusDailyPieceItemVo> dailyPieceItemVoList;

}
