define spark folder

This commit is contained in:
heyethereum
2024-08-12 08:43:11 +08:00
parent f2e92bd1ca
commit e51f99bc92

View File

@@ -0,0 +1,35 @@
package com.safeqr.app.spark.model;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.List;
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class URLFeatures {
private Long domain;
private Long subdomain;
private Long topLevelDomain;
private Long query;
private Long fragment;
private Long redirect;
private Long path;
private Long redirectChain;
private Long hstsHeader;
private Long sslStripping;
private Long hostnameEmbedding;
private Long javascriptCheck;
private Long shorteningService;
private Long hasIpAddress;
private Long trackingDescriptions;
private Long urlEncoding;
private Long hasExecutable;
private Long tls;
private Long contents;
private String target; // This is the label, may be null if predicting
}