Class Commision

java.lang.Object
com.plannaplan.entities.Commision

@Entity
public class Commision
extends java.lang.Object
Entity of Commision grouping of state associated about commison and owner_id
  • Constructor Details

    • Commision

      public Commision​(User user)
      Parameters:
      user - owner of commission. Can not be null otherwise saving commision will fail.
    • Commision

      public Commision​(User user, User commiter)
      Parameters:
      user - user whose shedule is being commited
      commiter - user that commited new schedule
    • Commision

      public Commision()
  • Method Details

    • getId

      public java.lang.Long getId()
      Id getter
      Returns:
      id id of commision
    • getCommisionDate

      public java.sql.Timestamp getCommisionDate()
      CommisionDate getter
      Returns:
      commisionDate
    • getCommisionOwner

      public User getCommisionOwner()
      User of given commision getter
      Returns:
      User commisionOwner
    • getCommisionCommiter

      public User getCommisionCommiter()
      Returns:
      User entity that created commision (can be owner or deanery user)
    • getAssignments

      public java.util.List<Assignment> getAssignments()
      Assigments getter
      Returns:
      List of assignments