package org.dromara.personnel.domain;

import jakarta.validation.constraints.NotNull;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serial;

/**
 * 运维-人员排班对象 ops_scheduling
 *
 * @author LionLi
 * @date 2025-09-19
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("ops_scheduling")
public class OpsScheduling extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

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

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

    /**
     * 运维人员id
     */
    private Long opsUserId;

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

    /**
     * 排班日期
     */
    private LocalDate schedulingDate;

    /**
     * 排班开始时间
     */
    private LocalDateTime schedulingStartTime;

    /**
     * 排班结束时间
     */
    private LocalDateTime schedulingEndTime;


}
