FpxAbnormalModel.java 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. package com.it.ocs.fourPX.model;
  2. import java.util.Date;
  3. public class FpxAbnormalModel {
  4. private Long id;
  5. private Long parentId;
  6. private String parentType;
  7. private String action;
  8. private String reason;
  9. private Date createdat;
  10. public FpxAbnormalModel() {
  11. }
  12. public FpxAbnormalModel(Long id, Long parentId, String parentType, String action, String reason) {
  13. this.id = id;
  14. this.parentId = parentId;
  15. this.parentType = parentType;
  16. this.action = action;
  17. this.reason = reason;
  18. this.createdat = new Date();
  19. }
  20. public Long getId() {
  21. return id;
  22. }
  23. public void setId(Long id) {
  24. this.id = id;
  25. }
  26. public Long getParentId() {
  27. return parentId;
  28. }
  29. public void setParentId(Long parentId) {
  30. this.parentId = parentId;
  31. }
  32. public String getParentType() {
  33. return parentType;
  34. }
  35. public void setParentType(String parentType) {
  36. this.parentType = parentType;
  37. }
  38. public String getAction() {
  39. return action;
  40. }
  41. public void setAction(String action) {
  42. this.action = action;
  43. }
  44. public String getReason() {
  45. return reason;
  46. }
  47. public void setReason(String reason) {
  48. this.reason = reason;
  49. }
  50. public Date getCreatedat() {
  51. return createdat;
  52. }
  53. public void setCreatedat(Date createdAt) {
  54. this.createdat = createdAt;
  55. }
  56. }