package com.ruoyi.oa.domain.vo;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import com.ruoyi.system.domain.SysOss;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;


/**
 * 报工任务单元视图对象 sys_oa_task_item
 *
 * @author hdka
 * @date 2025-03-27
 */
@Data
@ExcelIgnoreUnannotated
public class SysOaTaskItemVo {

    private static final long serialVersionUID = 1L;

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

    /**
     *
     */
    @ExcelProperty(value = "")
    private Long taskId;

    /**
     * 报工内容
     */
    @ExcelProperty(value = "报工内容")
    private String content;

    /**
     *
     */
    @ExcelProperty(value = "")
    private String files;

    /**
     * 上传事件
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ExcelProperty(value = "上传事件")
    private Date signTime;

    /**
     * 任务状态
     */
    @ExcelProperty(value = "任务状态")
    private Long status;

    /**
     * 该报功开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ExcelProperty(value = "该报功开始时间")
    private Date beginTime;

    /**
     * 结束事件
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ExcelProperty(value = "结束事件")
    private Date endTime;

    /**
     * 最初结束事件
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ExcelProperty(value = "最初结束事件")
    private Date originEndTime;

    /**
     * 延期临时使用字段
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ExcelProperty(value = "延期临时使用字段")
    private Date tempTime;

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

    /**
     * 完成时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date completedTime;


    private String nickName;
 }
