|
@@ -9,6 +9,7 @@ import com.yonge.cooleshow.common.enums.RewardTypeEnum;
|
|
import com.yonge.cooleshow.common.enums.UnitEnum;
|
|
import com.yonge.cooleshow.common.enums.UnitEnum;
|
|
import io.swagger.annotations.ApiModel;
|
|
import io.swagger.annotations.ApiModel;
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
|
+import lombok.Data;
|
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
|
|
|
|
import javax.validation.constraints.NotBlank;
|
|
import javax.validation.constraints.NotBlank;
|
|
@@ -24,6 +25,7 @@ import java.util.Date;
|
|
*/
|
|
*/
|
|
@TableName("activity_reward")
|
|
@TableName("activity_reward")
|
|
@ApiModel(value = "ActivityReward对象", description = "活动奖品表")
|
|
@ApiModel(value = "ActivityReward对象", description = "活动奖品表")
|
|
|
|
+@Data
|
|
public class ActivityReward implements Serializable {
|
|
public class ActivityReward implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
|
|
@@ -96,147 +98,11 @@ public class ActivityReward implements Serializable {
|
|
@TableField(exist = false)
|
|
@TableField(exist = false)
|
|
private String group;
|
|
private String group;
|
|
|
|
|
|
- public BigDecimal getDiscountPrice() {
|
|
|
|
- return discountPrice;
|
|
|
|
- }
|
|
|
|
|
|
+ @ApiModelProperty("会员卡ID")
|
|
|
|
+ @TableField(value = "vip_card_id_")
|
|
|
|
+ private Long vipCardId;
|
|
|
|
|
|
- public void setDiscountPrice(BigDecimal discountPrice) {
|
|
|
|
- this.discountPrice = discountPrice;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Long getId() {
|
|
|
|
- return id;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setId(Long id) {
|
|
|
|
- this.id = id;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Long getActivityId() {
|
|
|
|
- return activityId;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setActivityId(Long activityId) {
|
|
|
|
- this.activityId = activityId;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public String getRewardClient() {
|
|
|
|
- return rewardClient;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setRewardClient(String rewardClient) {
|
|
|
|
- this.rewardClient = rewardClient;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public String getRewardName() {
|
|
|
|
- return rewardName;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setRewardName(String rewardName) {
|
|
|
|
- this.rewardName = rewardName;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public RewardTypeEnum getRewardType() {
|
|
|
|
- return rewardType;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setRewardType(RewardTypeEnum rewardType) {
|
|
|
|
- this.rewardType = rewardType;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public String getRewardDescribe() {
|
|
|
|
- return rewardDescribe;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setRewardDescribe(String rewardDescribe) {
|
|
|
|
- this.rewardDescribe = rewardDescribe;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public String getImgUrl() {
|
|
|
|
- return imgUrl;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setImgUrl(String imgUrl) {
|
|
|
|
- this.imgUrl = imgUrl;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Integer getStock() {
|
|
|
|
- return stock;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setStock(Integer stock) {
|
|
|
|
- this.stock = stock;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Integer getNum() {
|
|
|
|
- return num;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setNum(Integer num) {
|
|
|
|
- this.num = num;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public UnitEnum getUnit() {
|
|
|
|
- return unit;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setUnit(UnitEnum unit) {
|
|
|
|
- this.unit = unit;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Integer getStatus() {
|
|
|
|
- return status;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setStatus(Integer status) {
|
|
|
|
- this.status = status;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Date getCreateTime() {
|
|
|
|
- return createTime;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setCreateTime(Date createTime) {
|
|
|
|
- this.createTime = createTime;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Long getCreateBy() {
|
|
|
|
- return createBy;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setCreateBy(Long createBy) {
|
|
|
|
- this.createBy = createBy;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Date getUpdateTime() {
|
|
|
|
- return updateTime;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setUpdateTime(Date updateTime) {
|
|
|
|
- this.updateTime = updateTime;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Long getUpdateBy() {
|
|
|
|
- return updateBy;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setUpdateBy(Long updateBy) {
|
|
|
|
- this.updateBy = updateBy;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public String getGroup() {
|
|
|
|
- return group;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setGroup(String group) {
|
|
|
|
- this.group = group;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Long getCouponId() {
|
|
|
|
- return couponId;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setCouponId(Long couponId) {
|
|
|
|
- this.couponId = couponId;
|
|
|
|
- }
|
|
|
|
|
|
+ @ApiModelProperty("隐藏标记")
|
|
|
|
+ @TableField(value = "hide_flag_")
|
|
|
|
+ private Boolean hideFlag = false;
|
|
}
|
|
}
|