package org.dromara.project.domain.dto.constructionuser;

import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * 根据项目id一键开关施工人员打卡状态
 *
 * @author lcj
 * @date 2025/4/2 9:14
 */
@Data
public class BusConstructionUserBatchUpdateClockReq implements Serializable {

    @Serial
    private static final long serialVersionUID = -5803749609177642435L;

    /**
     * 项目id
     */
    @NotNull(message = "项目id不能为空")
    private Long projectId;

    /**
     * 打卡(0启用打卡 1禁止打卡)
     */
    @NotNull(message = "打卡状态不能为空")
    private String clock;
}
