package cn.iocoder.yudao.module.pms.controller.admin.iotryimprovedailyreportdetail.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.math.BigDecimal;
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 IotRyImproveDailyReportDetailPageReqVO extends PageParam {

    @Schema(description = "施工队伍id", example = "25688")
    private Long deptId;

    @Schema(description = "设备整改日报id", example = "9387")
    private Long reportId;

    @Schema(description = "开始时间(年月日时分秒)")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] startDateTime;

    @Schema(description = "结束时间(年月日时分秒)")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] endDateTime;

    @Schema(description = "时长(H)")
    private BigDecimal duration;

    @Schema(description = "项目名称", example = "王五")
    private String projectName;

    @Schema(description = "当日施工详情")
    private String constructionDetail;

    @Schema(description = "下步计划")
    private String nextPlan;

    @Schema(description = "排序值")
    private Integer sort;

    @Schema(description = "备注", example = "你猜")
    private String remark;

    @Schema(description = "状态(0启用 1禁用)", example = "2")
    private Integer status;

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

}