// Path: src/main/java/com/mageddo/bookmarks/enums/BookmarkVisibility.java
// public enum BookmarkVisibility {
// 
//   PRIVATE(0), PUBLIC(1);
// 
//   private final int code;
// 
//   BookmarkVisibility(int code) {
//     this.code = code;
//   }
// 
//   public static BookmarkVisibility mustFromCode(int code) {
//     for (BookmarkVisibility visibility : values()) {
//       if (visibility.getCode() == code) {
//         return visibility;
//       }
//     }
//     return null;
//   }
// 
//   public int getCode() {
//     return code;
//   }
// }


import java.time.LocalDateTime;
import com.mageddo.bookmarks.enums.BookmarkVisibility;
import com.mageddo.common.jdbc.JdbcHelper;
import org.springframework.jdbc.core.RowMapper;
package com.mageddo.bookmarks.entity;




public class BookmarkEntity {

  private Integer id;
  private String name;
  private LocalDateTime lastUpdate;
  private String link;
  private String description;
  private boolean deleted;
  private boolean archived;
// Path: src/main/java/com/mageddo/bookmarks/enums/BookmarkVisibility.java
// public enum BookmarkVisibility {
// 
//   PRIVATE(0), PUBLIC(1);
// 
//   private final int code;
// 
//   BookmarkVisibility(int code) {
//     this.code = code;
//   }
// 
//   public static BookmarkVisibility mustFromCode(int code) {
//     for (BookmarkVisibility visibility : values()) {
//       if (visibility.getCode() == code) {
//         return visibility;
//       }
//     }
//     return null;
//   }
// 
//   public int getCode() {
//     return code;
//   }
// }


// Path: src/main/java/com/mageddo/bookmarks/entity/BookmarkEntity.java
import java.time.LocalDateTime;
import com.mageddo.bookmarks.enums.BookmarkVisibility;
import com.mageddo.common.jdbc.JdbcHelper;
import org.springframework.jdbc.core.RowMapper;

package com.mageddo.bookmarks.entity;




public class BookmarkEntity {

  private Integer id;
  private String name;
  private LocalDateTime lastUpdate;
  private String link;
  private String description;
  private boolean deleted;
  private boolean archived;
  private BookmarkVisibility visibility;