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

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

import javax.validation.constraints.NotNull;

@Schema(description = "管理后台 - 设备信息关联门店新增/修改 Request VO")
@Data
public class DeviceInfoSaveReqVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "557")
    private Long id;

    @Schema(description = "设备sn码")
    private String deviceSn;

    @Schema(description = "门店编号", example = "29361")
    private Long carteenId;

    @Schema(description = "设备ip")
    @NotNull(message = "设备码不能为空")
    private String deviceIp;

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

    @Schema(description = "门店名称", example = "张三")
    private String carteenName;

}