| | |
| | | package com.application.zhangshi_app_android.bean; |
| | | |
| | | import java.util.HashMap; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * @author Ljj |
| | | * @date 2023.06.11. 16:50 |
| | | * @desc |
| | | * @desc 旅游经历请求参数 |
| | | */ |
| | | public class TourismExperienceRequestBean extends PageRequestBean{ |
| | | public class TourismExperienceRequestBean{ |
| | | //费用id |
| | | private String fid; |
| | | private String cid; |
| | | //开始时间 |
| | | private String happenStartTime; |
| | | //结束时间 |
| | | private String happenEndTime; |
| | | //标题 |
| | | private String title; |
| | | //地点 |
| | | //行程地点 |
| | | private String address; |
| | | //人物 |
| | | private String people; |
| | | //景点 |
| | | private String scenic; |
| | | //酒店 |
| | | private String hotel; |
| | | |
| | | public String getHappenStartTime() { |
| | | return happenStartTime; |
| | |
| | | this.happenEndTime = happenEndTime; |
| | | } |
| | | |
| | | public String getTitle() { |
| | | return title; |
| | | } |
| | | |
| | | public void setTitle(String title) { |
| | | this.title = title; |
| | | } |
| | | |
| | | public String getAddress() { |
| | | return address; |
| | | } |
| | |
| | | this.address = address; |
| | | } |
| | | |
| | | public String getPeople() { |
| | | return people; |
| | | public String getScenic() { |
| | | return scenic; |
| | | } |
| | | |
| | | public void setPeople(String people) { |
| | | this.people = people; |
| | | public void setScenic(String scenic) { |
| | | this.scenic = scenic; |
| | | } |
| | | |
| | | public String getFid() { |
| | | return fid; |
| | | public String getHotel() { |
| | | return hotel; |
| | | } |
| | | |
| | | public void setFid(String fid) { |
| | | this.fid = fid; |
| | | public void setHotel(String hotel) { |
| | | this.hotel = hotel; |
| | | } |
| | | |
| | | @Override |
| | | public String getCid() { |
| | | return cid; |
| | | } |
| | | |
| | | public void setCid(String cid) { |
| | | this.cid = cid; |
| | | } |
| | | |
| | | public Map<String, Object> toMap() { |
| | | Map<String, Object> map = super.toMap(); |
| | | map.put("fid",fid == null ? "" : fid); |
| | | map.put("happenStartTime",happenStartTime == null ? "" : happenStartTime); |
| | | map.put("happenEndTime",happenEndTime == null ? "" : happenEndTime); |
| | | map.put("title",title == null ? "" : title); |
| | | map.put("address",address == null ? "" : address); |
| | | map.put("people",people == null ? "" : people); |
| | | Map<String, Object> map = new HashMap<>(); |
| | | map.put("cid", cid == null ? "" : cid); |
| | | |
| | | if (happenStartTime != null) { |
| | | map.put("happenStartTime", happenStartTime); |
| | | } |
| | | if (happenEndTime != null) { |
| | | map.put("happenEndTime", happenEndTime); |
| | | } |
| | | if (address != null) { |
| | | map.put("address", address); |
| | | } |
| | | if (scenic != null) { |
| | | map.put("scenic", scenic); |
| | | } |
| | | if (hotel != null) { |
| | | map.put("hotel", hotel); |
| | | } |
| | | return map; |
| | | } |
| | | } |