package com.realnet.founder's_friend.Entity;
 import lombok.*;
import com.realnet.WhoColumn.Entity.Extension; 
 import javax.persistence.*;
 import java.time.LocalDateTime;
 import java.util.*;


import com.realnet.founder's_friend.Entity.Journal;

import com.realnet.founder's_friend.Entity.Tasks;

import com.realnet.founder's_friend.Entity.Notes;

import com.realnet.founder's_friend.Entity.Expenses;

 @Entity 
 @Data
 public class    Founders_friend extends Extension { 
 /**
	 * 
	 */
	private static final long serialVersionUID = 1L;

 @Id
 @GeneratedValue(strategy = GenerationType.IDENTITY)
 private Integer id;

private String  name;

@OneToMany(  cascade=CascadeType.ALL)
 private List<Journal> journal = new ArrayList<>();

@OneToMany(  cascade=CascadeType.ALL)
 private List<Tasks> tasks = new ArrayList<>();

@OneToMany(  cascade=CascadeType.ALL)
 private List<Notes> notes = new ArrayList<>();

@OneToMany(  cascade=CascadeType.ALL)
 private List<Expenses> expenses = new ArrayList<>();


}
