package cn.iocoder.yudao.module.server.controller.admin.workorderType.vo;

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

import java.time.LocalDateTime;
import org.springframework.format.annotation.DateTimeFormat;

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

@Schema(description = "管理后台 - 工单类型列表 Request VO")
@Data
public class WorkorderTypeListReqVO {

    @Schema(description = "父栏目id", example = "1706")
    private Long parentId;

    @Schema(description = "工单类型名称", example = "张三")
    private String name;

    @Schema(description = "状态：1：开启、0：关闭", example = "1")
    private Integer status;

    @Schema(description = "运维商id")
    private String suplier;

    @Schema(description = "需求描述")
    private String requirement;

    @Schema(description = "资料上传提示")
    private String uploadInfo;

    @Schema(description = "流程类型:1:策略类，2:操作类，3:运维商流程", example = "1")
    private Integer processType;

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

}