package com.adx.tracking.storage.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import java.time.Instant;

/** 对应 Go storage.TrackingRecord */
public class TrackingRecord {
    @JsonProperty("qk")        private String qk;
    @JsonProperty("kind")      private String kind;  // "impression" | "click"
    @JsonProperty("url")       private String url;
    @JsonProperty("status")    private int status;
    @JsonProperty("ok")        private boolean ok;
    @JsonProperty("createdAt") private Instant createdAt;

    public String getQk() { return qk; }
    public void setQk(String v) { this.qk = v; }
    public String getKind() { return kind; }
    public void setKind(String v) { this.kind = v; }
    public String getUrl() { return url; }
    public void setUrl(String v) { this.url = v; }
    public int getStatus() { return status; }
    public void setStatus(int v) { this.status = v; }
    public boolean isOk() { return ok; }
    public void setOk(boolean v) { this.ok = v; }
    public Instant getCreatedAt() { return createdAt; }
    public void setCreatedAt(Instant v) { this.createdAt = v; }
}
