package com.hz.his.dto.report; import com.hx.util.StringUtils; import lombok.Data; import java.util.ArrayList; import java.util.Date; import java.util.List; @Data public class OperationalStatementsVo { /**年份:yyyy*/ private String year; /**月份:yyyy-MM*/ private String month; /**月份:yyyy-MM-dd*/ private String day; /**门店标识*/ private String shopId; private List shopIdList; /**开始时间*/ private Date startTime; /**结束时间*/ private Date endTime; /**登录员工标识*/ private String loginEmpId; /**登录员工名称*/ private String loginCnName; /**登录员工唯一字符串*/ private String loginEmpStr; public List getShopIdList() { if(shopIdList == null){ shopIdList = new ArrayList<>(); } if(StringUtils.noNull(shopId)&&!shopIdList.contains(shopId)){ shopIdList.add(shopId); } return shopIdList; } public void setShopIdList(List shopIdList) { this.shopIdList = shopIdList; } }