personalweb

archived
git clone git://git.wimdupont.com/personalweb.git
Log | Files | Refs | LICENSE

Rss.java (554B)


      1 package com.wimdupont.personalweb.model.dao;
      2 
      3 import jakarta.persistence.Entity;
      4 import jakarta.persistence.Id;
      5 import org.hibernate.annotations.UuidGenerator;
      6 
      7 @Entity
      8 public class Rss extends Auditable {
      9 
     10     @Id
     11     @UuidGenerator
     12     private String id;
     13     private String content;
     14 
     15     public String getId() {
     16         return id;
     17     }
     18 
     19     public void setId(String id) {
     20         this.id = id;
     21     }
     22 
     23     public String getContent() {
     24         return content;
     25     }
     26 
     27     public void setContent(String content) {
     28         this.content = content;
     29     }
     30 
     31 }