Init Commit
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
package com.realtime.protection.configuration.entity.user;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class User {
|
||||
private int userID;
|
||||
|
||||
private String username;
|
||||
|
||||
private String password;
|
||||
|
||||
private String userDepart;
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
package com.realtime.protection.configuration.entity.whitelist;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class WhiteListObject {
|
||||
@JsonProperty("whiteobj_id")
|
||||
private int whiteListId;
|
||||
|
||||
@NotNull
|
||||
@JsonProperty("whiteobj_name")
|
||||
private String whiteListName;
|
||||
|
||||
@JsonProperty("whiteobj_system_name")
|
||||
private String whiteListSystemName;
|
||||
|
||||
@JsonProperty("whiteobj_ip_address")
|
||||
private String whiteListIP;
|
||||
|
||||
@JsonProperty("whiteobj_port")
|
||||
private int whiteListPort;
|
||||
|
||||
@JsonProperty("whiteobj_url")
|
||||
private String whiteListUrl;
|
||||
|
||||
@JsonProperty("whiteobj_protocol")
|
||||
private String whiteListProtocol;
|
||||
|
||||
@JsonProperty("audit_status")
|
||||
private String whiteListAuditStatus;
|
||||
}
|
||||
Reference in New Issue
Block a user