package com.zjty.tynotes.weekly.subject.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @Author gwj
 * @create 2020/3/30 9:13
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "问题", description = "问题")
@Document(collection = "problem")
public class Problem {
    @Id
    @ApiModelProperty(value = "id",example = "1")
    private String id;

    @ApiModelProperty(value = "id",example = "1")
    private String des;

    private String userId;
}
