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

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 生产班组分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class WorkTeamPageReqVO extends PageParam {

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

    @Schema(description = "组长ID", 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 = "是否启用")
    private Boolean isEnable;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}