package com.zt.plat.module.qms.resource.device.controller.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 附属设备关系 Response VO")
@Data
@ExcelIgnoreUnannotated
public class DeviceAffiliationRelativityRespVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "30536")
    @ExcelProperty("ID")
    private Long id;

    @Schema(description = "主设备id", example = "20920")
    @ExcelProperty("主设备id")
    private Long parentProductId;

    @Schema(description = "子设备id", example = "28766")
    @ExcelProperty("子设备id")
    private Long childDeviceId;

    @Schema(description = "排序号")
    @ExcelProperty("排序号")
    private Integer sortNo;

    @Schema(description = "所属部门")
    @ExcelProperty("所属部门")
    private String systemDepartmentCode;

    @Schema(description = "备注")
    @ExcelProperty("备注")
    private String remark;

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

}