package jnpf.model.cultivate.v2.task.vo;

import lombok.Data;

import java.io.Serializable;


@Data
public class V2CultivateLearnTaskCertificateVo implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * id
     */
    private String id;

    /**
     * 证书主键id
     */
    private String certificateId;

    /**
     * 证书名称
     */
    private String certificateName;

    /**
     * 是否获得  false-未获得  true-已经获得
     */
    private Boolean isGet;

    public void convert(FtbCultivateLearnTaskCertificateVo certificateEntity) {
        this.setId(certificateEntity.getId());
        this.setCertificateId(certificateEntity.getCertificateId());
    }
}
