blob: 248996fca51978ce0e28d45f678f76516e14b930 [file] [log] [blame]
刘嘉昕f28ea232025-04-15 16:55:43 +08001package com.pt5.pthouduan.entity;
2
3import com.baomidou.mybatisplus.annotation.TableId;
4import com.baomidou.mybatisplus.annotation.TableName;
5
6import java.io.Serializable;
7import java.time.LocalDateTime;
8
9/**
10 * <p>
11 *
12 * </p>
13 *
14 * @author ljx
15 * @since 2025-04-14
16 */
17@TableName("promotions")
18public class Promotions implements Serializable {
19
20 private static final long serialVersionUID = 1L;
21
22 @TableId("promotionid")
23 private Long promotionid;
24
25 private String promotionDescription;
26
27 private Integer promotionType;
28
29 private LocalDateTime startTime;
30
31 private LocalDateTime endTime;
32
33 public Long getPromotionid() {
34 return promotionid;
35 }
36
37 public void setPromotionid(Long promotionid) {
38 this.promotionid = promotionid;
39 }
40
41 public String getPromotionDescription() {
42 return promotionDescription;
43 }
44
45 public void setPromotionDescription(String promotionDescription) {
46 this.promotionDescription = promotionDescription;
47 }
48
49 public Integer getPromotionType() {
50 return promotionType;
51 }
52
53 public void setPromotionType(Integer promotionType) {
54 this.promotionType = promotionType;
55 }
56
57 public LocalDateTime getStartTime() {
58 return startTime;
59 }
60
61 public void setStartTime(LocalDateTime startTime) {
62 this.startTime = startTime;
63 }
64
65 public LocalDateTime getEndTime() {
66 return endTime;
67 }
68
69 public void setEndTime(LocalDateTime endTime) {
70 this.endTime = endTime;
71 }
72
73 @Override
74 public String toString() {
75 return "Promotions{" +
76 "promotionid = " + promotionid +
77 ", promotionDescription = " + promotionDescription +
78 ", promotionType = " + promotionType +
79 ", startTime = " + startTime +
80 ", endTime = " + endTime +
81 "}";
82 }
83}