package org.dromara.personnel.domain.vo;

import java.time.LocalTime;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import jakarta.validation.constraints.NotNull;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.personnel.domain.OpsSchedulingDate;
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_date
 *
 * @author LionLi
 * @date 2025-09-19
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = OpsSchedulingDate.class)
public class OpsSchedulingDateVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

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

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

    /**
     * 排班名称
     */
    @ExcelProperty(value = "排班名称")
    private String schedulingName;

    /**
     * 开始时间
     */
    @ExcelProperty(value = "开始时间")
    private LocalTime startTime;

    /**
     * 结束时间
     */
    @ExcelProperty(value = "结束时间")
    private LocalTime endTime;

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


}
