package cn.iocoder.yudao.module.pms.controller.admin.yanfan.group.vo;

import lombok.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
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 = "管理后台 - yf设备分组分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class IotYfGroupPageReqVO extends PageParam {

    @Schema(description = "分组名称", example = "赵六")
    private String groupName;

    @Schema(description = "分组排序")
    private Integer groupOrder;

    @Schema(description = "用户ID", example = "11789")
    private Long userId;

    @Schema(description = "用户昵称", example = "张三")
    private String userName;

    @Schema(description = "删除标志（0代表存在 2代表删除）")
    private String delFlag;

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

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

    @Schema(description = "部门id", example = "19777")
    private Long deptId;

}
