| package com.dayu.qihealonelibrary.dbBean; | 
|   | 
| import androidx.room.Entity; | 
| import androidx.room.PrimaryKey; | 
|   | 
| /** | 
|  * Copyright (C), 2023, | 
|  * Author: zuo | 
|  * Date: 2023-11-10 19:52 | 
|  * Description: 充值实体类 | 
|  */ | 
| @Entity | 
| public class RechargeBean { | 
|   | 
|     @PrimaryKey(autoGenerate = true) | 
|     public long id; | 
|     private String serial;//设备序列号 | 
|     public String userName; | 
|     public String userId;//用户身份证号 | 
|     public long date; | 
|     public String morny;//充值金额 单位元 | 
|     public String rechargeWater;//充值水量 | 
|     public String balance;//余额 单位元 | 
|     public String total_morn;//总充值金额 | 
|     //状态 0未上传 1成功上传 | 
|     public int state = 0; | 
|   | 
|     public String cardNumber;//卡号 | 
|     public String surplusWater;//剩余水量 底位在前  2位小数点 单位元/立方米 () | 
|   | 
|     public String getRechargeWater() { | 
|         return rechargeWater; | 
|     } | 
|   | 
|     public void setRechargeWater(String rechargeWater) { | 
|         this.rechargeWater = rechargeWater; | 
|     } | 
|   | 
|     public String getSurplusWater() { | 
|         return surplusWater; | 
|     } | 
|   | 
|     public void setSurplusWater(String surplusWater) { | 
|         this.surplusWater = surplusWater; | 
|     } | 
|   | 
|     public String getCardNumber() { | 
|         return cardNumber; | 
|     } | 
|   | 
|     public void setCardNumber(String cardNumber) { | 
|         this.cardNumber = cardNumber; | 
|     } | 
|   | 
|     public String getTotal_morn() { | 
|         return total_morn; | 
|     } | 
|   | 
|     public String getUserId() { | 
|         return userId; | 
|     } | 
|   | 
|     public void setUserId(String userId) { | 
|         this.userId = userId; | 
|     } | 
|   | 
|     public void setTotal_morn(String total_morn) { | 
|         this.total_morn = total_morn; | 
|     } | 
|   | 
|     public int getState() { | 
|         return state; | 
|     } | 
|   | 
|     public void setState(int state) { | 
|         this.state = state; | 
|     } | 
|   | 
|     public String getSerial() { | 
|         return serial; | 
|     } | 
|   | 
|     public void setSerial(String serial) { | 
|         this.serial = serial; | 
|     } | 
|   | 
|     public String getUserName() { | 
|         return userName; | 
|     } | 
|   | 
|     public void setUserName(String userName) { | 
|         this.userName = userName; | 
|     } | 
|   | 
|   | 
|     public long getDate() { | 
|         return date; | 
|     } | 
|   | 
|     public void setDate(long date) { | 
|         this.date = date; | 
|     } | 
|   | 
|     public String getMorny() { | 
|         return morny; | 
|     } | 
|   | 
|     public void setMorny(String morny) { | 
|         this.morny = morny; | 
|     } | 
|   | 
|     public String getBalance() { | 
|         return balance; | 
|     } | 
|   | 
|     public void setBalance(String balance) { | 
|         this.balance = balance; | 
|     } | 
| } |