package com.zcloud.personnel.positioning.dto.clientobject;

import com.alibaba.cola.dto.ClientObject;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.time.LocalDateTime;

/**
 * web-client
 *
 * @Author fangjiakai
 * @Date 2026-07-07
 */
@Data
public class AlarmRuleFenceRelCO extends ClientObject {
    @ApiModelProperty(value = "主键", name = "id")
    private Long id;

    @ApiModelProperty(value = "告警规则id", name = "ruleId")
    private Long ruleId;

    @ApiModelProperty(value = "围栏id", name = "fenceId")
    private Long fenceId;

    @ApiModelProperty(value = "围栏名称", name = "fenceName")
    private String fenceName;

    @ApiModelProperty(value = "FindS围栏id", name = "findsFenceId")
    private Long findsFenceId;

    @ApiModelProperty(value = "关联类型 EFFECTIVE生效 IGNORE忽略", name = "relType")
    private String relType;

    @ApiModelProperty(value = "企业id/公司id（公司及子公司数据隔离）", name = "corpinfoId")
    private String corpinfoId;

    @ApiModelProperty(value = "企业名称/公司名称", name = "corpinfoName")
    private String corpinfoName;

    @ApiModelProperty(value = "删除标识 TRUE/FALSE", name = "deleteEnum")
    private String deleteEnum;

    @ApiModelProperty(value = "备注", name = "remarks")
    private String remarks;

    @ApiModelProperty(value = "创建人姓名", name = "createName")
    private String createName;

    @ApiModelProperty(value = "更新人姓名", name = "updateName")
    private String updateName;

    @ApiModelProperty(value = "租户id", name = "tenantId")
    private Long tenantId;

    @ApiModelProperty(value = "单位id", name = "orgId")
    private Long orgId;

    @ApiModelProperty(value = "环境", name = "env")
    private String env;

    @ApiModelProperty(value = "版本", name = "version")
    private Integer version;

    @ApiModelProperty(value = "创建时间", name = "createTime")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "修改时间", name = "updateTime")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "创建人id", name = "createId")
    private Long createId;

    @ApiModelProperty(value = "更新人id", name = "updateId")
    private Long updateId;
}
