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

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 设备信息关联门店 Response VO")
@Data
@ExcelIgnoreUnannotated
public class DeviceInfoRespVO {

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

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

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

    @Schema(description = "设备ip")
    @ExcelProperty("设备ip")
    private String deviceIp;

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

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

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    /**
     * 是否在线
     */
    private String alive;

}