package com.ruoyi.benyun.entity.vo;

import com.ruoyi.benyun.entity.WdOpclose;
import lombok.Data;

@Data
public class WdOpcloseVo {
    private String addrCode;

    private String addrName;

    private Integer openCount;

    private Integer closeCount;

    public WdOpcloseVo(){}

    public WdOpcloseVo(WdOpclose wdOpclose){
        this.addrCode = wdOpclose.getAddrCode();
        this.openCount = wdOpclose.getOpenCount();
        this.closeCount = wdOpclose.getCloseCount();
    }

    public WdOpcloseVo(String addrCode, WdOpclose wdOpclose){
        this.addrCode = addrCode;
        this.openCount = wdOpclose.getOpenCount();
        this.closeCount = wdOpclose.getCloseCount();
    }
}
