import org.springframework.data.mongodb.core.mapping.Document;
@Document
public class Lecture implements Serializable {
static final long serialVersionUID = 423234L;
@Id
<BUG>private String name; //강의 이름 이게 기본 키
private String description; // 강의 소개
private Date openingDate; // 강의 시작일
@DBRef</BUG>
private Weaver creator;

import org.springframework.data.mongodb.core.mapping.Document;
@Document
public class Lecture implements Serializable {
static final long serialVersionUID = 423234L;
@Id
private String name;
private String description;
private Date openingDate;
@DBRef
private Weaver creator;
