package com.njcn.csdevice.pojo.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.njcn.db.bo.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 
 * Description:
 * 接口文档访问地址：http://serverIP:port/swagger-ui.html
 * Date: 2023/4/18  13:49【需求编号】
 *
 * @author clam
 * @version V1.0.0
 */
@Data
@TableName(value = "cs_dev_model_relation")
public class CsDevModelRelationPO  extends BaseEntity {
    /**
     * id
     */
    @TableId(value = "id",type = IdType.ASSIGN_UUID)
    private String id;

    @ApiModelProperty(value="装置id")
    @TableField(value = "dev_id")
    private String devId;

    @ApiModelProperty(value="装置模板id")
    @TableField(value = "model_id")
    private String modelId;

    /**
     * 状态(0：删除 1：正常)
     */
    @TableField(value = "status")
    @ApiModelProperty(value="状态(0：删除 1：正常)")
    private String status;

    /**
     * 逻辑设备id
     */
    @TableField(value = "did")
    @ApiModelProperty(value="逻辑设备id")
    private Integer did;
}