package cn.iocoder.yudao.module.system.controller.admin.biz.vo;

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

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

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


@Schema(description = "管理后台 - 设备产品新增/修改 Request VO")
@Data
public class BindingDeviceReqVO {

    @Schema(description = "主键ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "10514")
    @NotNull(message = "主键ID不能为空")
    private Long id;

    @Schema(description = "绑定类型，1-长者，2-房间/楼层/楼栋，3-绑定床位", requiredMode = Schema.RequiredMode.REQUIRED,  example = "1")
    @NotNull(message = "绑定类型不能为空")
    private Integer bindingType;

    @Schema(description = "绑定状态，0-未绑定，1-已绑定", example = "1")
    private Integer bindingStatus;

    @Schema(description = "绑定时间")
    private LocalDateTime bindingDate;

    @Schema(description = "绑定用户id", example = "6741")
    //@NotNull(message = "绑定用户id不能为空")
    private Long bindingUserId;

    @Schema(description = "绑定用户名称", example = "芋艿")
    private String bindingUserName;

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

    @Schema(description = "绑定名称，楼栋/楼层/房间", example = "李四")
    private String bindingName;

    @Schema(description = "关联用户id", example = "30057")
    private Long associationUserid;

    @Schema(description = "关联用户名称", example = "芋艿")
    private String associationUsername;

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

    @Schema(description = "设备手机号")
    private String devicePhone;

    @Schema(description = "安装位置")
    private String installPosition;

    @Schema(description = "设备位置")
    private String devicePosition;

}
