diff --git a/HarmonyOSNewsClient/entry/src/main/java/com/huawei/codelab/been/NewsInfo.java b/HarmonyOSNewsClient/entry/src/main/java/com/huawei/codelab/been/NewsInfo.java deleted file mode 100644 index e688deab09b1293cc1458a99d5dc6b4d4a772a93..0000000000000000000000000000000000000000 --- a/HarmonyOSNewsClient/entry/src/main/java/com/huawei/codelab/been/NewsInfo.java +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright (c) 2021 Huawei Device Co., Ltd.All rights reserved. - * Licensed under the Apache License,Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.huawei.codelab.been; - -/** - * News information - * - * @since 2020-12-04 - */ -public class NewsInfo { - private String title; - - private String type; - - private String imgUrl; - - private String reads; - - private String likes; - - private String content; - - public String getImgUrl() { - return imgUrl; - } - - public String getReads() { - return reads; - } - - public void setReads(String reads) { - this.reads = reads; - } - - public String getLikes() { - return likes; - } - - public void setLikes(String likes) { - this.likes = likes; - } - - public String getContent() { - return content; - } - - public void setContent(String content) { - this.content = content; - } - - public String getTitle() { - return title; - } - - public void setTitle(String title) { - this.title = title; - } - - public String getType() { - return type; - } -} diff --git a/HarmonyOSNewsClient/entry/src/main/java/com/huawei/codelab/been/NewsType.java b/HarmonyOSNewsClient/entry/src/main/java/com/huawei/codelab/been/NewsType.java deleted file mode 100644 index e01c169cc2eb15dd1c86d8c3b6ff0af7ccedf61e..0000000000000000000000000000000000000000 --- a/HarmonyOSNewsClient/entry/src/main/java/com/huawei/codelab/been/NewsType.java +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2021 Huawei Device Co., Ltd.All rights reserved. - * Licensed under the Apache License,Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.huawei.codelab.been; - -/** - * News information - * - * @since 2020-12-04 - */ -public class NewsType { - private String name; - - public String getName() { - return name; - } -}