ycl-pojo/src/main/java/com/ycl/platform/domain/vo/YwUnitVO.java
@@ -1,5 +1,6 @@
package com.ycl.platform.domain.vo;
import annotation.Excel;
import com.ycl.platform.base.AbsVo;
import com.ycl.platform.domain.entity.YwUnit;
@@ -18,24 +19,26 @@
@Accessors(chain = true)
public class YwUnitVO extends AbsVo {
    /** 单位编码 */
    @Excel(name = "单位编码")
    private String unitCode;
    /** 单位名称 */
    @Excel(name = "单位名称")
    private String unitName;
    /** 单位联系人 */
    @Excel(name = "单位联系人")
    private String unitContact;
    /** 单位联系人电话 */
    @Excel(name = "单位联系人电话")
    private String unitContactPhone;
    /** 单位管理员账号 */
    @Excel(name = "单位管理员账号")
    private String unitAdminAccount;
    /** 备注 */
    @Excel(name = "备注")
    private String remark;
    private Integer workOrderCount;
    public static YwUnitVO getVoByEntity(@NonNull YwUnit entity, YwUnitVO vo) {
        if(vo == null) {
            vo = new YwUnitVO();