package com.zt.plat.module.base.controller.admin.processinginfomationoperation.vo;

import com.zt.plat.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static com.zt.plat.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
 * 组织工艺工序分页 Request VO
 */
@Data
public class ProcessingInfomationOperationOrganizationPageReqVO extends PageParam {

    @Schema(description = "组织ID", example = "1001")
    private Long deptId;

    @Schema(description = "工艺ID", example = "2001")
    private Long processingId;

    @Schema(description = "工序ID", example = "3001")
    private Long operationId;

    @Schema(description = "是否关键工序")
    private Integer isKey;

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