package org.dromara.personnel.domain.vo;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.dromara.personnel.domain.OpsScheduling;
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

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



/**
 * 运维-人员排班视图对象 ops_scheduling
 *
 * @author LionLi
 * @date 2025-09-19
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = OpsScheduling.class)
public class OpsSchedulingVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

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

    /**
     * 项目id
     */
    private Long projectId;

    /**
     * 运维人员id
     */
    @ExcelProperty(value = "运维人员id")
    private Long opsUserId;

    /**
     * 排班类型ID
     */
    private Long schedulingType;

    private String schedulingTypeName;

    /**
     * 排班日期
     */
    @ExcelProperty(value = "排班日期")
    private LocalDate schedulingDate;

    /**
     * 排班开始时间
     */
//    @ExcelProperty(value = "排班开始时间")
    private LocalDateTime schedulingStartTime;

    /**
     * 排班结束时间
     */
//    @ExcelProperty(value = "排班结束时间")
    private LocalDateTime schedulingEndTime;

    /**
     * 时长
     */
    private Double duration;


}
