wordstudent

Word learning program
git clone git://git.wimdupont.com/wordstudent.git
Log | Files | Refs | LICENSE

WordCouchDocument.java (372B)


      1 package com.wimdupont.model.db;
      2 
      3 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
      4 import com.wimdupont.model.dto.WordDto;
      5 
      6 import java.util.List;
      7 
      8 @JsonIgnoreProperties(ignoreUnknown = true)
      9 public record WordCouchDocument(
     10         List<Row> rows
     11 
     12 ) {
     13     @JsonIgnoreProperties(ignoreUnknown = true)
     14     public record Row(
     15             WordDto doc) {
     16 
     17     }
     18 }