class ReferralToken {
  constructor({
    id,
    token,
    createdByUserId,
    expiresAt,
    maxUses,
    usesRemaining,
    status,
    deactivationReason,
    createdAt,
    updatedAt
  }) {
    this.id = id;
    this.token = token;
    this.createdByUserId = createdByUserId;
    this.expiresAt = expiresAt;
    this.maxUses = maxUses;
    this.usesRemaining = usesRemaining;
    this.status = status;
    this.deactivationReason = deactivationReason;
    this.createdAt = createdAt;
    this.updatedAt = updatedAt;
  }
}

module.exports = ReferralToken;
