AdGroupSchedule.java 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. package com.cloudcross.ssp.advertiser.model;
  2. import java.util.Date;
  3. /**
  4. * 投放的排期表
  5. * @author chenyou
  6. *
  7. */
  8. public class AdGroupSchedule {
  9. private long id;
  10. private long adGroupId;
  11. /**
  12. * 排期开始日期
  13. */
  14. private String startDate;
  15. private Date beginDate;
  16. /**
  17. * 排期结束日期
  18. */
  19. private String endDate;
  20. private Date sEndDate;
  21. /**
  22. * 投放小时段 eg:0,1,5
  23. */
  24. private String dehours;
  25. /**
  26. * 每日投放上限
  27. */
  28. private Long dailyImpression = 0l;
  29. private Date updated;
  30. public void setDailyImpression(Long dailyImpression) {
  31. this.dailyImpression = dailyImpression;
  32. }
  33. public Long getDailyImpression() {
  34. return this.dailyImpression;
  35. }
  36. public long getId() {
  37. return id;
  38. }
  39. public void setId(long id) {
  40. this.id = id;
  41. }
  42. public long getAdGroupId() {
  43. return adGroupId;
  44. }
  45. public void setAdGroupId(long adGroupId) {
  46. this.adGroupId = adGroupId;
  47. }
  48. public Date getUpdated() {
  49. return updated;
  50. }
  51. public void setUpdated(Date updated) {
  52. this.updated = updated;
  53. }
  54. public String getStartDate() {
  55. return startDate;
  56. }
  57. public void setStartDate(String startDate) {
  58. this.startDate = startDate;
  59. }
  60. public String getEndDate() {
  61. return endDate;
  62. }
  63. public void setEndDate(String endDate) {
  64. this.endDate = endDate;
  65. }
  66. public String getDehours() {
  67. return dehours;
  68. }
  69. public void setDehours(String dehours) {
  70. this.dehours = dehours;
  71. }
  72. public Date getBeginDate() {
  73. return beginDate;
  74. }
  75. public void setBeginDate(Date beginDate) {
  76. this.beginDate = beginDate;
  77. }
  78. public Date getsEndDate() {
  79. return sEndDate;
  80. }
  81. public void setsEndDate(Date sEndDate) {
  82. this.sEndDate = sEndDate;
  83. }
  84. @Override
  85. public String toString() {
  86. return "AdGroupSchedule [id=" + id + ", adGroupId=" + adGroupId
  87. + ", startDate=" + startDate + ", beginDate=" + beginDate
  88. + ", endDate=" + endDate + ", sEndDate=" + sEndDate
  89. + ", dehours=" + dehours + ", dailyImpression="
  90. + dailyImpression + ", updated="
  91. + updated + "]";
  92. }
  93. }