package cn.iocoder.yudao.module.system.controller.admin.biz.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.LocalDateTime;

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

/**
 * @Author: jinyd
 * @CreateTime: 2024/10/28  10:19
 * @Description:
 * @Version: 4.0
 */


@Schema(description = "管理后台 - 设备产品分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class DeviceProductPageReqVO extends PageParam {

    @Schema(description = "租户id", example = "30838")
    private Long tenantId;

    @Schema(description = "设备厂商id", example = "15898")
    private String deviceManufacturerId;

    @Schema(description = "sn码")
    private String snCode;

    @Schema(description = "绑定用户id", example = "6741")
    private Long bindingUserId;

    @Schema(description = "绑定id", example = "李四")
    private String bindingId;

    @Schema(description = "模型id", example = "30838")
    private Long modelId;

    @Schema(description = "在线状态，1-在线，2-离线", example = "30838")
    private Integer onlineStatus;

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

}
