Advertisement
Guest User

Projects

a guest
Dec 10th, 2018
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.53 KB | None | 0 0
  1. public class Project extends BaseEntity {
  2. @Index
  3. public ClientInfo clientInfo;
  4. @Index
  5. public PropertyInfo propertyInfo;
  6. @Index
  7. public CompanyInfo clientRep;
  8. public double total;
  9. public double clientTotal;
  10. public double profit;
  11. public double cost;
  12. public double invoiceAmount;
  13. @Index
  14. public UserInternal pm;
  15. @Index
  16. public UserInternal pd;
  17. @Index
  18. public UserInternal rom;
  19. public List<LinkedProject> linkedProjects;
  20. private String lossProjectId;
  21. private String conProjectId;
  22. private String resProjectId;
  23. @Index
  24. private String number;
  25. @Index
  26. private String cmicNumber;
  27. @Index
  28. private String jobType;
  29. @Index
  30. private Date anticipatedStartDate;
  31. @Index
  32. private Date projectedEndDate;
  33. private long anticipatedNumOfDays;//do not change get method
  34. @Index
  35. private Date startDate;
  36. @Index
  37. private Date endDate;
  38. private long numOfDays;//do not change get method
  39. private ZoneId projectTimezone;
  40. @Index
  41. private String other;
  42. @Index
  43. private ProjectStatus status;
  44. private JOB_CLASS jobClass;
  45. @Index
  46. @Required
  47. private ProjectType projectType;
  48. private List<Omission> omissions;
  49. @Index
  50. private List<@Valid UserInternal> internalTeam;
  51. private List<@Valid UserClient> clientsTeam;
  52. private List<@Valid CompanyUser> adjusters;
  53. private List<@Valid CompanyUser> consultants;
  54. private String assignedRole;
  55. @Index
  56. private ClientCustomFields clientCustomFields;
  57. }
  58.  
  59. public abstract class BaseEntity {
  60.  
  61. protected String id;
  62. private Date createdAt;
  63. private Date updatedAt;
  64. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement