package com.cmvr.device.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.cmvr.common.annotation.Excel;
import com.cmvr.common.core.domain.BaseEntity;

/**
 * 设备注册对象 de_device_registration
 * 
 * @author cmvr-iot
 * @date 2025-05-08
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("设备注册")
public class DeDeviceRegistration extends BaseEntity
{
    private static final long serialVersionUID = 1L;


    public DeDeviceRegistration(String deviceCode,String deviceModel){
        this.deviceCode=deviceCode;
        this.deviceModel=deviceModel;
    }

    /** id */
    @ApiModelProperty("id")
    @TableId(value = "id",type = IdType.ASSIGN_UUID)
    private String id;

    /** 备注 */
    @Excel(name = "备注")
    @ApiModelProperty("备注")
    private String remake;

    /** 设备终端配置id */
    @Excel(name = "设备终端配置id")
    @ApiModelProperty("设备终端id")
    private String idDeDeviceTerminalConfig;

    /** 设备编码 */
    @Excel(name = "设备编码")
    @ApiModelProperty("设备编码")
    private String deviceCode;

    /** 设备名称 */
    @Excel(name = "设备名称")
    @ApiModelProperty("设备名称")
    private String deviceName;


    /** 设备型号 */
    @Excel(name = "设备型号")
    @ApiModelProperty("设备型号")
    private String deviceModel;

    /** 设备状态 */
    @Excel(name = "设备状态")
    @ApiModelProperty(value = "设备状态 (0正常 1停用)")
    private String status;

}
