package cn.iocoder.yudao.module.pms.controller.admin.iotopeationfill.vo;

import cn.iocoder.yudao.module.pms.dal.dataobject.iotmodeltemplateattrs.IotModelTemplateAttrsDO1;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.time.LocalDate;
import java.util.List;

/**
 * @author yc
 * @version 1.0
 * @className IotOpeationFillWithAttrsVO
 * @date 2025/12/15 9:31
 * @description
 */
@Schema(description = "新增实体类")
@Data
@ToString(callSuper = true)
public class IotOpeationFillWithAttrsVO {
    private Long id;
    private String deviceId;
    private String deviceCode;
    private LocalDate createTime;
    private Long deviceCategoryId;
    private String deviceName;
    private String orgName;
    // 新增的属性
    private List<IotModelTemplateAttrsDO1> attrsDetail;

    // 3. 必须有无参构造器（Lombok的@NoArgsConstructor可自动生成，@Data包含@NoArgsConstructor）
    public IotOpeationFillWithAttrsVO() {}

    // 4. 所有属性必须有getter和setter（Lombok的@Data可自动生成）
    // 手动生成示例（如果不用Lombok）：
    public Long getId() { return id; }
    public void setId(Long id) { this.id = id; }
    public String getDeviceId() { return deviceId; }
    public void setDeviceId(String deviceId) { this.deviceId = deviceId; }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    // ... 其他属性的getter/setter
    public List<IotModelTemplateAttrsDO1> getAttrsDetail() { return attrsDetail; }
    public void setAttrsDetail(List<IotModelTemplateAttrsDO1> attrsDetail) { this.attrsDetail = attrsDetail; }
}