package cn.iocoder.yudao.module.mes.controller.admin.workteam.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 生产班组新增/修改 Request VO")
@Data
public class WorkTeamSaveReqVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "19207")
    private Long id;

    @Schema(description = "班组名称", example = "赵六")
    private String teamName;

    @Schema(description = "组长ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "17857")
    private Long teamLeaderId;

    @Schema(description = "工序类型", example = "2")
    private String teamType;
    @Schema(description = "班组类型", example = "1白班，2夜班")
    private String groupType;

    @Schema(description = "备注", example = "随便")
    private String remark;

    @Schema(description = "是否启用", requiredMode = Schema.RequiredMode.REQUIRED)
    private Boolean isEnable;
    /**
     * 班组开工时间和结束时间
     */
    @Schema(description = "开工时间",requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime startTime;
    @Schema(description = "结束时间",requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime endTime;
}