package cn.lihongjie.coal.pdcDevice.dto;

import cn.lihongjie.coal.base.dto.OrgCommonDto;
import cn.lihongjie.coal.common.DictCode;
import cn.lihongjie.coal.dataCollector.dto.DataCollectorDto;
import cn.lihongjie.coal.pdcDeviceSupplier.dto.PdcDeviceSupplierDto;
import cn.lihongjie.coal.pojoProcessor.DictTranslate;

import jakarta.persistence.ManyToOne;

import lombok.Data;

import org.hibernate.annotations.Comment;

@Data
public class PdcDeviceDto extends OrgCommonDto {
    private String archiveStatus;

    @DictTranslate(dictKey = DictCode.ARCHIVESTATUS)
    private String archiveStatusName;

    @ManyToOne
    private PdcDeviceSupplierDto supplier;



    @ManyToOne
    private DataCollectorDto dataCollector;



    @Comment("设备分组")
    private String deviceGroup;



    @Comment("煤类型")
    private String coalType;

    @DictTranslate(dictKey = DictCode.COAL_TYPE)
    private String coalTypeName;

    @Comment("MODBUS地址")
    private String modbusUId;

    @Comment("数据保存间隔(分钟)")
    private Integer dataSaveInterval;
    
    
    
    




}
