package com.microservices.pms.productLibrary.domain.vo;

import com.microservices.common.core.utils.bean.BeanUtils;
import com.microservices.pms.document.domain.vo.PmsDocumentVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 制品搜索对象
 *
 * @author otto
 * @date 2024-07-04
 */
@Data
@ApiModel("知识库文档数据对象")
public class DocResultVo extends PmsDocumentVo {

    /**
     * 是否已选择
     */
    @ApiModelProperty(value = "是否已选择")
    private Boolean isChoose = false;

    public DocResultVo(PmsDocumentVo pmsDocumentVo) {
        BeanUtils.copyProperties(pmsDocumentVo, this);
    }
}
