package cn.iocoder.yudao.module.pms.controller.admin.iotopeationfill.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.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY;
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 IotOpeationFillPageVO extends PageParam {

    @Schema(description = "资产编号")
    private String deviceCode;

    private Long deviceCategoryId;

    @Schema(description = "设备名称", example = "赵六")
    private String deviceName;

    @Schema(description = "填写内容")
    private String fillContent;

    @Schema(description = "设备类别", example = "1")
    private String deviceType;

    @Schema(description = "设备部件")
    private String deviceComponent;

    @Schema(description = "公司id", example = "17048")
    private Long deptId;

    @Schema(description = "设备id", example = "17048")
    private Long deviceId;

    @Schema(description = "所属组织", example = "李四")
    private String orgName;

    @Schema(description = "项目部id", example = "2565")
    private Long proId;

    @Schema(description = "所属项目部", example = "李四")
    private String proName;

    @Schema(description = "小队id", example = "26084")
    private Long teamId;

    @Schema(description = "所属小队", example = "张三")
    private String teamName;

    @Schema(description = "设备负责人", example = "李四")
    private String dutyName;

    @Schema(description = "填写日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY)
    private LocalDate creDate;

    private Date startDate;
    private Date endDate;


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

    private Integer isFill;
    private String orderName;
    private String orderType;
    private Integer orderStatus;
    private Integer userId;
    private String userName;
    private int isReport;
    private List<Long> deptIds;
    private Long orderId;
}
