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/16  9:46
 * @Description:
 * @Version: 4.0
 */

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

    @Schema(description = "分类id", example = "19154")
    private Long deviceCategoryId;

    @Schema(description = "厂家id", example = "19154")
    private Long deviceManufacturerId;

    @Schema(description = "厂家名称", example = "张三")
    private String deviceManufacturerName;

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

    @Schema(description = "型号", example = "赵六")
    private String modelName;

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

    @Schema(description = "类型，0-健康，1-监控，2-睡眠，3-跌倒，4-安防，5-腕表，6-环境", example = "2")
    private Integer type;

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

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


}
