package cn.iocoder.yudao.module.erp.controller.admin.mold.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import java.math.BigDecimal;
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 MoldPageReqVO extends PageParam {

    @Schema(description = "模具编码")
    private String code;

    @Schema(description = "模具名称", example = "芋艿")
    private String name;

    @Schema(description = "单位ID", example = "19527")
    private Long unitId;

    @Schema(description = "设备ID", example = "24428")
    private Long machineId;

    @Schema(description = "设备名称", example = "24428")
    private String machineName;

    @Schema(description = "使用次数/次")
    private BigDecimal useTime;

    @Schema(description = "入库时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] inTime;

    @Schema(description = "状态", example = "1")
    private Integer status;

    @Schema(description = "模具图片")
    private String images;

    @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;

    @Schema(description = "型号id", example = "15258")
    private Long brandId;

    @Schema(description = "id集合导出用")
    private String ids;

    @Schema(description = "附件地址")
    private String fileUrl;

}