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

import jnpf.model.cultivate.po.FtbCultivatePositionCourseCertificate;
import lombok.Data;

@Data
public class FtbCultivatePositionCourseCertificateVo  {

	private String id;

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

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

	/** 岗位主键ID */
	private String postRankId;

	/** 岗位学习主键ID */
	private String postLearnId;

	/** 课程ID */
	private String courseId;
	/** 职级ID */
	private String gradeId;


    public void convert(FtbCultivatePositionCourseCertificate certificate) {
		this.setId(certificate.getId());
		this.setCertificateId(certificate.getCertificateId());
		this.setPostRankId(certificate.getPostRankId());
		this.setPostLearnId(certificate.getPostLearnId());
		this.setCourseId(certificate.getCourseId());
		this.setGradeId(certificate.getGradeId());
    }
}
