package com.mosquito.project.dto;

import lombok.NoArgsConstructor;

import java.time.OffsetDateTime;

@NoArgsConstructor
public class ShareTrackingResponse {
    private String trackingId;
    private String shortCode;
    private String originalUrl;
    private Long activityId;
    private Long inviterUserId;
    private OffsetDateTime createdAt;

    public ShareTrackingResponse(String trackingId, String shortCode, String originalUrl, Long activityId, Long inviterUserId) {
        this.trackingId = trackingId;
        this.shortCode = shortCode;
        this.originalUrl = originalUrl;
        this.activityId = activityId;
        this.inviterUserId = inviterUserId;
        this.createdAt = OffsetDateTime.now();
    }

    public String getTrackingId() { return trackingId; }
    public void setTrackingId(String trackingId) { this.trackingId = trackingId; }
    public String getShortCode() { return shortCode; }
    public void setShortCode(String shortCode) { this.shortCode = shortCode; }
    public String getOriginalUrl() { return originalUrl; }
    public void setOriginalUrl(String originalUrl) { this.originalUrl = originalUrl; }
    public Long getActivityId() { return activityId; }
    public void setActivityId(Long activityId) { this.activityId = activityId; }
    public Long getInviterUserId() { return inviterUserId; }
    public void setInviterUserId(Long inviterUserId) { this.inviterUserId = inviterUserId; }
    public OffsetDateTime getCreatedAt() { return createdAt; }
    public void setCreatedAt(OffsetDateTime createdAt) { this.createdAt = createdAt; }
}
