001 /* 002 * =========================================================================================== 003 * = COPYRIGHT 004 * PAX Computer Technology (Shenzhen) Co., Ltd. PROPRIETARY INFORMATION 005 * This software is supplied under the terms of a license agreement or nondisclosure 006 * agreement with PAX Computer Technology (Shenzhen) Co., Ltd. and may not be copied or 007 * disclosed except in accordance with the terms in that agreement. 008 * Copyright (C) 2017-2023 PAX Computer Technology (Shenzhen) Co., Ltd. All rights reserved. 009 * Description: // Detail description about the function of this module, 010 * // interfaces with the other modules, and dependencies. 011 * Revision History: 012 * Date Author Action 013 * 2017/04/01 PAX Create/Add/Modify/Delete 014 * =========================================================================================== 015 */ 016package com.pax.dal.entity; 017 018 019 020/** 021 * <div class="zh"> 应用访问网络记录类 </div> <div class="en"> Application access network record class </div> 022 */ 023public class VisitItem { 024 private int count; 025 private String ipAddr; 026 private String pkgName; 027 028 029 public VisitItem(int count, String ipAddr, String pkgName) { 030 this.count = count; 031 this.ipAddr = ipAddr; 032 this.pkgName = pkgName; 033 } 034 035 /** 036 * <div class="zh"> 获取应用访问指定IP地址的次数 037 * </div> <div class="en"> Get the number of times the application visits the specified IP address </div> 038 * @return <div class="zh">应用访问指定IP地址的次数</div> 039 * <div class="en">The number of times the application accessed the specified IP address</div> 040 */ 041 public int getCount() { 042 return count; 043 } 044 045 /** 046 * <div class="zh"> 获取访问的IP地址 </div> <div class="en"> Get the IP address of the visit </div> 047 * @return <div class="zh">访问的IP地址 </div> <div class="en">Visited IP address</div> 048 */ 049 public String getIpAddr() { 050 return ipAddr; 051 } 052 053 /** 054 * <div class="zh"> 获取应用包名 </div> <div class="en"> Get application package name </div> 055 * @return <div class="zh">应用包名 </div><div class="en">Application package name</div> 056 */ 057 public String getPkgName() { 058 return pkgName; 059 } 060 061}