|  |  |  | 
|---|
|  |  |  | import com.baomidou.mybatisplus.annotation.TableId; | 
|---|
|  |  |  | import com.baomidou.mybatisplus.annotation.TableLogic; | 
|---|
|  |  |  | import com.baomidou.mybatisplus.annotation.TableName; | 
|---|
|  |  |  | import com.fasterxml.jackson.annotation.JsonFormat; | 
|---|
|  |  |  | import io.swagger.annotations.Api; | 
|---|
|  |  |  | import io.swagger.annotations.ApiModel; | 
|---|
|  |  |  | import io.swagger.annotations.ApiModelProperty; | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value = "删除标志(0=否,1=是)") | 
|---|
|  |  |  | @TableField("del_flag") | 
|---|
|  |  |  | @TableLogic | 
|---|
|  |  |  | private Integer delFlag; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value = "添加时间") | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value = "活动开始日期") | 
|---|
|  |  |  | @TableField("start_time") | 
|---|
|  |  |  | @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss") | 
|---|
|  |  |  | private LocalDateTime startTime; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value = "活动结束日期") | 
|---|
|  |  |  | @TableField("end_time") | 
|---|
|  |  |  | @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss") | 
|---|
|  |  |  | private LocalDateTime endTime; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value = "满x元") | 
|---|
|  |  |  | 
|---|
|  |  |  | @TableField(exist = false) | 
|---|
|  |  |  | private Integer status; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value = "主键字符串") | 
|---|
|  |  |  | @TableField(exist = false) | 
|---|
|  |  |  | private String idStr; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value = "会员名称") | 
|---|
|  |  |  | @TableField(exist = false) | 
|---|
|  |  |  | private String vipName; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public String getIdStr() { | 
|---|
|  |  |  | return String.valueOf(id); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|