New file |
| | |
| | | package com.hdl.linkpm.sdk.device.bean; |
| | | |
| | | import java.io.Serializable; |
| | | |
| | | import androidx.annotation.NonNull; |
| | | |
| | | /** |
| | | * Created by Zoro |
| | | * Created on 2022/11/1 |
| | | * description: |
| | | */ |
| | | public class ProductInfo implements Serializable { |
| | | private String productName; |
| | | private String productModel; |
| | | private String imageUrl; |
| | | |
| | | public String getImageUrl() { |
| | | return imageUrl == null ? "" : imageUrl; |
| | | } |
| | | |
| | | public void setImageUrl(@NonNull String imageUrl) { |
| | | this.imageUrl = imageUrl; |
| | | } |
| | | |
| | | public String getProductName() { |
| | | return productName == null ? "" : productName; |
| | | } |
| | | |
| | | public void setProductName(@NonNull String productName) { |
| | | this.productName = productName; |
| | | } |
| | | |
| | | public String getProductModel() { |
| | | return productModel == null ? "" : productModel; |
| | | } |
| | | |
| | | public void setProductModel(@NonNull String productModel) { |
| | | this.productModel = productModel; |
| | | } |
| | | |
| | | public ProductInfo() { |
| | | } |
| | | |
| | | public ProductInfo(String productName, String productModel, String imageUrl) { |
| | | this.productName = productName; |
| | | this.productModel = productModel; |
| | | this.imageUrl = imageUrl; |
| | | } |
| | | } |