package com.yuchen.saas.park.api.entity.fire.inspect;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.nest.springwrap.core.mp.base.BaseEntity;

import javax.validation.constraints.NotBlank;

/**
 * <p>
 * 巡检点配置表
 * </p>
 *
 * @author zhouhanwei
 * @since 2024-04-01
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("saas_park_fire_inspect_config")
@ApiModel(value="SaasParkFireInspectConfig对象", description="巡检点配置表")
public class SaasParkFireInspectConfig extends BaseEntity {

    /**
     * 客户id
     */
    @ApiModelProperty(name = "customerId", value = "客户id")
    private Long customerId;
    /**
     * 项目id
     */
    @ApiModelProperty(name = "projectId", value = "项目id")
    private Long projectId;
    /**
     * 巡检点配置名称
     */
    @ApiModelProperty(name = "inspectConfigName", value = "巡检点配置名称")
    private String inspectConfigName;
    /**
     * 巡检点配置类型（1：智能硬件，2：点位，3：自定义，4：设备资产）
     */
    @ApiModelProperty(name = "inspectConfigType", value = "巡检点配置类型（1：智能硬件，2：点位，3：自定义，4：设备资产）")
    private String inspectConfigType;
    /**
     * 巡检配置目标 存json [{targetId: 123, targetName: 设备/点位/自定义文本, targetCode: 00, targetAddress: 123 }]
     */
    @ApiModelProperty(name = "inspectConfigTarget", value = "巡检配置目标 存json [{targetId: 123, targetName: 设备/点位/自定义文本, targetCode: 00, targetAddress: 123 }]")
    private String inspectConfigTarget;
    /**
     * 二维码地址
     */
    @ApiModelProperty(name = "qrCodeUrl", value = "二维码地址")
    private String qrCodeUrl;
    /**
     * 备注
     */
    @ApiModelProperty(name = "remark", value = "备注")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String remark;
    /**
     * 创建人组织用户
     */
    @ApiModelProperty(value = "创建人组织用户")
    private Long createOrgUser;
    /**
     * 更新人组织用户
     */
    @ApiModelProperty(value = "更新人组织用户")
    private Long updateOrgUser;



}
