master
33442 2024-11-20 22:36:36 +08:00
parent 1a39e63fa6
commit cf553c801d
8 changed files with 502 additions and 1827 deletions

View File

@ -1,395 +1,91 @@
package com.muyu.marketing.domain; package com.muyu.marketing.domain;
import javax.validation.constraints.NotBlank; import java.sql.Timestamp;
import javax.validation.constraints.Size; import java.sql.Date;
import javax.validation.constraints.NotNull; import java.sql.Time;
import java.io.Serializable; import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import java.util.Date; import lombok.Builder;
import io.swagger.annotations.ApiModelProperty; import lombok.Data;
import org.hibernate.validator.constraints.Length; import lombok.NoArgsConstructor;
/**
*
* @TableName activity_team_info
*/
public class ActivityTeamInfo implements Serializable {
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "activity_team_info",autoResultMap = true)
public class ActivityTeamInfo {
/** /**
* *
*/ */
@NotNull(message="[主键]不能为空") private Long id;
@ApiModelProperty("主键")
private Integer id;
/** /**
* *
*/ */
@Size(max= 255,message="编码长度不能超过255")
@ApiModelProperty("拼团名称")
@Length(max= 255,message="编码长度不能超过255")
private String name; private String name;
/** /**
* ID * ID
*/ */
@NotNull(message="[商品ID]不能为空")
@ApiModelProperty("商品ID")
private Long productId; private Long productId;
/** /**
* *
*/ */
@NotBlank(message="[商品活动图]不能为空")
@Size(max= 128,message="编码长度不能超过128")
@ApiModelProperty("商品活动图")
@Length(max= 128,message="编码长度不能超过128")
private String productImage; private String productImage;
/** /**
* *
*/ */
@Size(max= -1,message="编码长度不能超过-1")
@ApiModelProperty("活动简介")
@Length(max= -1,message="编码长度不能超过-1")
private String introduction; private String introduction;
/** /**
* *
*/ */
@NotBlank(message="[单位]不能为空")
@Size(max= 255,message="编码长度不能超过255")
@ApiModelProperty("单位")
@Length(max= 255,message="编码长度不能超过255")
private String unit; private String unit;
/** /**
* *
*/ */
@NotBlank(message="[轮播图]不能为空")
@Size(max= -1,message="编码长度不能超过-1")
@ApiModelProperty("轮播图")
@Length(max= -1,message="编码长度不能超过-1")
private String imageList; private String imageList;
/** /**
* *
*/ */
@NotNull(message="[活动结束时间]不能为空") private Timestamp endTime;
@ApiModelProperty("活动结束时间")
private Date endTime;
/** /**
* *
*/ */
@NotNull(message="[活动排序]不能为空") private Long sort;
@ApiModelProperty("活动排序")
private Integer sort;
/** /**
* *
*/ */
@Size(max= -1,message="编码长度不能超过-1")
@ApiModelProperty("活动详情")
@Length(max= -1,message="编码长度不能超过-1")
private String content; private String content;
/** /**
* *
*/ */
@NotBlank(message="[活动状态]不能为空")
@Size(max= 32,message="编码长度不能超过32")
@ApiModelProperty("活动状态")
@Length(max= 32,message="编码长度不能超过32")
private String status; private String status;
/** /**
* *
*/ */
@NotBlank(message="[策略类型]不能为空")
@Size(max= 32,message="编码长度不能超过32")
@ApiModelProperty("策略类型")
@Length(max= 32,message="编码长度不能超过32")
private String strategyType; private String strategyType;
/** /**
* ID * ID
*/ */
@NotNull(message="[策略ID]不能为空")
@ApiModelProperty("策略ID")
private Long strategyId; private Long strategyId;
/** /**
* *
*/ */
@Size(max= 900,message="编码长度不能超过900")
@ApiModelProperty("备注")
@Length(max= 900,message="编码长度不能超过900")
private String remark; private String remark;
/** /**
* *
*/ */
@Size(max= 32,message="编码长度不能超过32")
@ApiModelProperty("创建人")
@Length(max= 32,message="编码长度不能超过32")
private String createBy; private String createBy;
/** /**
* *
*/ */
@ApiModelProperty("创建时间") private Timestamp createTime;
private Date createTime;
/** /**
* *
*/ */
@Size(max= 32,message="编码长度不能超过32")
@ApiModelProperty("修改人")
@Length(max= 32,message="编码长度不能超过32")
private String updateBy; private String updateBy;
/** /**
* *
*/ */
@ApiModelProperty("修改时间") private Timestamp updateTime;
private Date updateTime;
/**
*
*/
private void setId(Integer id){
this.id = id;
}
/**
*
*/
private void setName(String name){
this.name = name;
}
/**
* ID
*/
private void setProductId(Long productId){
this.productId = productId;
}
/**
*
*/
private void setProductImage(String productImage){
this.productImage = productImage;
}
/**
*
*/
private void setIntroduction(String introduction){
this.introduction = introduction;
}
/**
*
*/
private void setUnit(String unit){
this.unit = unit;
}
/**
*
*/
private void setImageList(String imageList){
this.imageList = imageList;
}
/**
*
*/
private void setEndTime(Date endTime){
this.endTime = endTime;
}
/**
*
*/
private void setSort(Integer sort){
this.sort = sort;
}
/**
*
*/
private void setContent(String content){
this.content = content;
}
/**
*
*/
private void setStatus(String status){
this.status = status;
}
/**
*
*/
private void setStrategyType(String strategyType){
this.strategyType = strategyType;
}
/**
* ID
*/
private void setStrategyId(Long strategyId){
this.strategyId = strategyId;
}
/**
*
*/
private void setRemark(String remark){
this.remark = remark;
}
/**
*
*/
private void setCreateBy(String createBy){
this.createBy = createBy;
}
/**
*
*/
private void setCreateTime(Date createTime){
this.createTime = createTime;
}
/**
*
*/
private void setUpdateBy(String updateBy){
this.updateBy = updateBy;
}
/**
*
*/
private void setUpdateTime(Date updateTime){
this.updateTime = updateTime;
}
/**
*
*/
private Integer getId(){
return this.id;
}
/**
*
*/
private String getName(){
return this.name;
}
/**
* ID
*/
private Long getProductId(){
return this.productId;
}
/**
*
*/
private String getProductImage(){
return this.productImage;
}
/**
*
*/
private String getIntroduction(){
return this.introduction;
}
/**
*
*/
private String getUnit(){
return this.unit;
}
/**
*
*/
private String getImageList(){
return this.imageList;
}
/**
*
*/
private Date getEndTime(){
return this.endTime;
}
/**
*
*/
private Integer getSort(){
return this.sort;
}
/**
*
*/
private String getContent(){
return this.content;
}
/**
*
*/
private String getStatus(){
return this.status;
}
/**
*
*/
private String getStrategyType(){
return this.strategyType;
}
/**
* ID
*/
private Long getStrategyId(){
return this.strategyId;
}
/**
*
*/
private String getRemark(){
return this.remark;
}
/**
*
*/
private String getCreateBy(){
return this.createBy;
}
/**
*
*/
private Date getCreateTime(){
return this.createTime;
}
/**
*
*/
private String getUpdateBy(){
return this.updateBy;
}
/**
*
*/
private Date getUpdateTime(){
return this.updateTime;
}
} }

View File

@ -1,379 +1,87 @@
package com.muyu.marketing.domain; package com.muyu.marketing.domain;
import javax.validation.constraints.NotBlank; import java.sql.Timestamp;
import javax.validation.constraints.Size; import java.sql.Date;
import javax.validation.constraints.NotNull; import java.sql.Time;
import java.io.Serializable; import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import java.util.Date; import lombok.Builder;
import io.swagger.annotations.ApiModelProperty; import lombok.Data;
import org.hibernate.validator.constraints.Length; import lombok.NoArgsConstructor;
/**
*
* @TableName activity_team_open_info
*/
public class ActivityTeamOpenInfo implements Serializable {
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "activity_team_open_info",autoResultMap = true)
public class ActivityTeamOpenInfo {
/** /**
* *
*/ */
@NotNull(message="[主键]不能为空") private Long id;
@ApiModelProperty("主键")
private Integer id;
/** /**
* ID * ID
*/ */
@NotNull(message="[团购活动ID]不能为空")
@ApiModelProperty("团购活动ID")
private Long teamId; private Long teamId;
/** /**
* *
*/ */
@NotBlank(message="[团购类型]不能为空")
@Size(max= 255,message="编码长度不能超过255")
@ApiModelProperty("团购类型")
@Length(max= 255,message="编码长度不能超过255")
private String teamType; private String teamType;
/** /**
* *
*/ */
@NotBlank(message="[团购策略]不能为空")
@Size(max= 255,message="编码长度不能超过255")
@ApiModelProperty("团购策略")
@Length(max= 255,message="编码长度不能超过255")
private String teamStrategyId; private String teamStrategyId;
/** /**
* *
*/ */
@NotBlank(message="[参团类型]不能为空")
@Size(max= 32,message="编码长度不能超过32")
@ApiModelProperty("参团类型")
@Length(max= 32,message="编码长度不能超过32")
private String executiveType; private String executiveType;
/** /**
* *
*/ */
@NotNull(message="[结束团购时间]不能为空") private Timestamp endTime;
@ApiModelProperty("结束团购时间")
private Date endTime;
/** /**
* ID * ID
*/ */
@NotBlank(message="[商品ID]不能为空")
@Size(max= 255,message="编码长度不能超过255")
@ApiModelProperty("商品ID")
@Length(max= 255,message="编码长度不能超过255")
private String productId; private String productId;
/** /**
* *
*/ */
@NotBlank(message="[商品名称]不能为空")
@Size(max= 255,message="编码长度不能超过255")
@ApiModelProperty("商品名称")
@Length(max= 255,message="编码长度不能超过255")
private String productName; private String productName;
/** /**
* *
*/ */
@NotBlank(message="[商品规格]不能为空")
@Size(max= 255,message="编码长度不能超过255")
@ApiModelProperty("商品规格")
@Length(max= 255,message="编码长度不能超过255")
private String productSku; private String productSku;
/** /**
* *
*/ */
@NotBlank(message="[开团标识]不能为空")
@Size(max= 255,message="编码长度不能超过255")
@ApiModelProperty("开团标识")
@Length(max= 255,message="编码长度不能超过255")
private String key; private String key;
/** /**
* ID * ID
*/ */
@Size(max= 255,message="编码长度不能超过255")
@ApiModelProperty("订单ID")
@Length(max= 255,message="编码长度不能超过255")
private String orderId; private String orderId;
/** /**
* *
*/ */
@NotBlank(message="[开团状态]不能为空")
@Size(max= 255,message="编码长度不能超过255")
@ApiModelProperty("开团状态")
@Length(max= 255,message="编码长度不能超过255")
private String status; private String status;
/** /**
* *
*/ */
@Size(max= 32,message="编码长度不能超过32")
@ApiModelProperty("创建人")
@Length(max= 32,message="编码长度不能超过32")
private String createBy; private String createBy;
/** /**
* *
*/ */
@ApiModelProperty("创建时间") private Timestamp createTime;
private Date createTime;
/** /**
* *
*/ */
@Size(max= 32,message="编码长度不能超过32")
@ApiModelProperty("修改人")
@Length(max= 32,message="编码长度不能超过32")
private String updateBy; private String updateBy;
/** /**
* *
*/ */
@ApiModelProperty("修改时间") private Timestamp updateTime;
private Date updateTime;
/** /**
* *
*/ */
@Size(max= 900,message="编码长度不能超过900")
@ApiModelProperty("备注")
@Length(max= 900,message="编码长度不能超过900")
private String remark; private String remark;
/**
*
*/
private void setId(Integer id){
this.id = id;
}
/**
* ID
*/
private void setTeamId(Long teamId){
this.teamId = teamId;
}
/**
*
*/
private void setTeamType(String teamType){
this.teamType = teamType;
}
/**
*
*/
private void setTeamStrategyId(String teamStrategyId){
this.teamStrategyId = teamStrategyId;
}
/**
*
*/
private void setExecutiveType(String executiveType){
this.executiveType = executiveType;
}
/**
*
*/
private void setEndTime(Date endTime){
this.endTime = endTime;
}
/**
* ID
*/
private void setProductId(String productId){
this.productId = productId;
}
/**
*
*/
private void setProductName(String productName){
this.productName = productName;
}
/**
*
*/
private void setProductSku(String productSku){
this.productSku = productSku;
}
/**
*
*/
private void setKey(String key){
this.key = key;
}
/**
* ID
*/
private void setOrderId(String orderId){
this.orderId = orderId;
}
/**
*
*/
private void setStatus(String status){
this.status = status;
}
/**
*
*/
private void setCreateBy(String createBy){
this.createBy = createBy;
}
/**
*
*/
private void setCreateTime(Date createTime){
this.createTime = createTime;
}
/**
*
*/
private void setUpdateBy(String updateBy){
this.updateBy = updateBy;
}
/**
*
*/
private void setUpdateTime(Date updateTime){
this.updateTime = updateTime;
}
/**
*
*/
private void setRemark(String remark){
this.remark = remark;
}
/**
*
*/
private Integer getId(){
return this.id;
}
/**
* ID
*/
private Long getTeamId(){
return this.teamId;
}
/**
*
*/
private String getTeamType(){
return this.teamType;
}
/**
*
*/
private String getTeamStrategyId(){
return this.teamStrategyId;
}
/**
*
*/
private String getExecutiveType(){
return this.executiveType;
}
/**
*
*/
private Date getEndTime(){
return this.endTime;
}
/**
* ID
*/
private String getProductId(){
return this.productId;
}
/**
*
*/
private String getProductName(){
return this.productName;
}
/**
*
*/
private String getProductSku(){
return this.productSku;
}
/**
*
*/
private String getKey(){
return this.key;
}
/**
* ID
*/
private String getOrderId(){
return this.orderId;
}
/**
*
*/
private String getStatus(){
return this.status;
}
/**
*
*/
private String getCreateBy(){
return this.createBy;
}
/**
*
*/
private Date getCreateTime(){
return this.createTime;
}
/**
*
*/
private String getUpdateBy(){
return this.updateBy;
}
/**
*
*/
private Date getUpdateTime(){
return this.updateTime;
}
/**
*
*/
private String getRemark(){
return this.remark;
}
} }

View File

@ -1,246 +1,63 @@
package com.muyu.marketing.domain; package com.muyu.marketing.domain;
import javax.validation.constraints.NotBlank; import java.sql.Timestamp;
import javax.validation.constraints.Size; import java.sql.Date;
import javax.validation.constraints.NotNull; import java.sql.Time;
import java.io.Serializable; import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import java.util.Date; import lombok.Builder;
import io.swagger.annotations.ApiModelProperty; import lombok.Data;
import org.hibernate.validator.constraints.Length; import lombok.NoArgsConstructor;
/**
*
* @TableName activity_team_product_sku_info
*/
public class ActivityTeamProductSkuInfo implements Serializable {
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "activity_team_product_sku_info",autoResultMap = true)
public class ActivityTeamProductSkuInfo {
/** /**
* *
*/ */
@NotNull(message="[主键]不能为空") private Long id;
@ApiModelProperty("主键")
private Integer id;
/** /**
* ID * ID
*/ */
@NotNull(message="[活动ID]不能为空")
@ApiModelProperty("活动ID")
private Long teamId; private Long teamId;
/** /**
* ID * ID
*/ */
@Size(max= 255,message="编码长度不能超过255")
@ApiModelProperty("商品ID")
@Length(max= 255,message="编码长度不能超过255")
private String productId; private String productId;
/** /**
* SKU * SKU
*/ */
@Size(max= 255,message="编码长度不能超过255")
@ApiModelProperty("商品SKU")
@Length(max= 255,message="编码长度不能超过255")
private String productSku; private String productSku;
/** /**
* *
*/ */
@Size(max= 255,message="编码长度不能超过255")
@ApiModelProperty("拼团库存")
@Length(max= 255,message="编码长度不能超过255")
private String teamStock; private String teamStock;
/** /**
* *
*/ */
@Size(max= 255,message="编码长度不能超过255")
@ApiModelProperty("拼团价格")
@Length(max= 255,message="编码长度不能超过255")
private String teamPrice; private String teamPrice;
/** /**
* *
*/ */
@Size(max= 32,message="编码长度不能超过32")
@ApiModelProperty("创建人")
@Length(max= 32,message="编码长度不能超过32")
private String createBy; private String createBy;
/** /**
* *
*/ */
@ApiModelProperty("创建时间") private Timestamp createTime;
private Date createTime;
/** /**
* *
*/ */
@Size(max= 32,message="编码长度不能超过32")
@ApiModelProperty("修改人")
@Length(max= 32,message="编码长度不能超过32")
private String updateBy; private String updateBy;
/** /**
* *
*/ */
@ApiModelProperty("修改时间") private Timestamp updateTime;
private Date updateTime;
/** /**
* *
*/ */
@Size(max= 900,message="编码长度不能超过900")
@ApiModelProperty("备注")
@Length(max= 900,message="编码长度不能超过900")
private String remark; private String remark;
/**
*
*/
private void setId(Integer id){
this.id = id;
}
/**
* ID
*/
private void setTeamId(Long teamId){
this.teamId = teamId;
}
/**
* ID
*/
private void setProductId(String productId){
this.productId = productId;
}
/**
* SKU
*/
private void setProductSku(String productSku){
this.productSku = productSku;
}
/**
*
*/
private void setTeamStock(String teamStock){
this.teamStock = teamStock;
}
/**
*
*/
private void setTeamPrice(String teamPrice){
this.teamPrice = teamPrice;
}
/**
*
*/
private void setCreateBy(String createBy){
this.createBy = createBy;
}
/**
*
*/
private void setCreateTime(Date createTime){
this.createTime = createTime;
}
/**
*
*/
private void setUpdateBy(String updateBy){
this.updateBy = updateBy;
}
/**
*
*/
private void setUpdateTime(Date updateTime){
this.updateTime = updateTime;
}
/**
*
*/
private void setRemark(String remark){
this.remark = remark;
}
/**
*
*/
private Integer getId(){
return this.id;
}
/**
* ID
*/
private Long getTeamId(){
return this.teamId;
}
/**
* ID
*/
private String getProductId(){
return this.productId;
}
/**
* SKU
*/
private String getProductSku(){
return this.productSku;
}
/**
*
*/
private String getTeamStock(){
return this.teamStock;
}
/**
*
*/
private String getTeamPrice(){
return this.teamPrice;
}
/**
*
*/
private String getCreateBy(){
return this.createBy;
}
/**
*
*/
private Date getCreateTime(){
return this.createTime;
}
/**
*
*/
private String getUpdateBy(){
return this.updateBy;
}
/**
*
*/
private Date getUpdateTime(){
return this.updateTime;
}
/**
*
*/
private String getRemark(){
return this.remark;
}
} }

View File

@ -1,307 +1,75 @@
package com.muyu.marketing.domain; package com.muyu.marketing.domain;
import javax.validation.constraints.NotBlank; import java.sql.Timestamp;
import javax.validation.constraints.Size; import java.sql.Date;
import javax.validation.constraints.NotNull; import java.sql.Time;
import java.io.Serializable; import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import java.util.Date; import lombok.Builder;
import io.swagger.annotations.ApiModelProperty; import lombok.Data;
import org.hibernate.validator.constraints.Length; import lombok.NoArgsConstructor;
/**
*
* @TableName team_strategy_exemption
*/
public class TeamStrategyExemption implements Serializable {
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "team_strategy_exemption",autoResultMap = true)
public class TeamStrategyExemption {
/** /**
* *
*/ */
@NotNull(message="[主键]不能为空") private Long id;
@ApiModelProperty("主键")
private Integer id;
/** /**
* *
*/ */
@NotNull(message="[持续时间]不能为空") private Long duration;
@ApiModelProperty("持续时间")
private Integer duration;
/** /**
* *
*/ */
@NotNull(message="[免单人数]不能为空") private Long exemptionNumber;
@ApiModelProperty("免单人数")
private Integer exemptionNumber;
/** /**
* *
*/ */
@NotNull(message="[最大购买量]不能为空") private Long maxBuy;
@ApiModelProperty("最大购买量")
private Integer maxBuy;
/** /**
* *
*/ */
@NotNull(message="[单次购买量]不能为空") private Long oneBuy;
@ApiModelProperty("单次购买量")
private Integer oneBuy;
/** /**
* *
*/ */
@NotNull(message="[虚拟人数]不能为空") private Long virtualNumber;
@ApiModelProperty("虚拟人数")
private Integer virtualNumber;
/** /**
* *
*/ */
@NotBlank(message="[面单类型]不能为空")
@Size(max= 32,message="编码长度不能超过32")
@ApiModelProperty("面单类型")
@Length(max= 32,message="编码长度不能超过32")
private String type; private String type;
/** /**
* *
*/ */
@Size(max= -1,message="编码长度不能超过-1")
@ApiModelProperty("返款阶梯")
@Length(max= -1,message="编码长度不能超过-1")
private String ruleInfo; private String ruleInfo;
/** /**
* *
*/ */
@NotBlank(message="[策略状态]不能为空")
@Size(max= 32,message="编码长度不能超过32")
@ApiModelProperty("策略状态")
@Length(max= 32,message="编码长度不能超过32")
private String status; private String status;
/** /**
* *
*/ */
@Size(max= 32,message="编码长度不能超过32")
@ApiModelProperty("创建人")
@Length(max= 32,message="编码长度不能超过32")
private String createBy; private String createBy;
/** /**
* *
*/ */
@ApiModelProperty("创建时间") private Timestamp createTime;
private Date createTime;
/** /**
* *
*/ */
@Size(max= 32,message="编码长度不能超过32")
@ApiModelProperty("修改人")
@Length(max= 32,message="编码长度不能超过32")
private String updateBy; private String updateBy;
/** /**
* *
*/ */
@ApiModelProperty("修改时间") private Timestamp updateTime;
private Date updateTime;
/** /**
* *
*/ */
@Size(max= 900,message="编码长度不能超过900")
@ApiModelProperty("备注")
@Length(max= 900,message="编码长度不能超过900")
private String remark; private String remark;
/**
*
*/
private void setId(Integer id){
this.id = id;
}
/**
*
*/
private void setDuration(Integer duration){
this.duration = duration;
}
/**
*
*/
private void setExemptionNumber(Integer exemptionNumber){
this.exemptionNumber = exemptionNumber;
}
/**
*
*/
private void setMaxBuy(Integer maxBuy){
this.maxBuy = maxBuy;
}
/**
*
*/
private void setOneBuy(Integer oneBuy){
this.oneBuy = oneBuy;
}
/**
*
*/
private void setVirtualNumber(Integer virtualNumber){
this.virtualNumber = virtualNumber;
}
/**
*
*/
private void setType(String type){
this.type = type;
}
/**
*
*/
private void setRuleInfo(String ruleInfo){
this.ruleInfo = ruleInfo;
}
/**
*
*/
private void setStatus(String status){
this.status = status;
}
/**
*
*/
private void setCreateBy(String createBy){
this.createBy = createBy;
}
/**
*
*/
private void setCreateTime(Date createTime){
this.createTime = createTime;
}
/**
*
*/
private void setUpdateBy(String updateBy){
this.updateBy = updateBy;
}
/**
*
*/
private void setUpdateTime(Date updateTime){
this.updateTime = updateTime;
}
/**
*
*/
private void setRemark(String remark){
this.remark = remark;
}
/**
*
*/
private Integer getId(){
return this.id;
}
/**
*
*/
private Integer getDuration(){
return this.duration;
}
/**
*
*/
private Integer getExemptionNumber(){
return this.exemptionNumber;
}
/**
*
*/
private Integer getMaxBuy(){
return this.maxBuy;
}
/**
*
*/
private Integer getOneBuy(){
return this.oneBuy;
}
/**
*
*/
private Integer getVirtualNumber(){
return this.virtualNumber;
}
/**
*
*/
private String getType(){
return this.type;
}
/**
*
*/
private String getRuleInfo(){
return this.ruleInfo;
}
/**
*
*/
private String getStatus(){
return this.status;
}
/**
*
*/
private String getCreateBy(){
return this.createBy;
}
/**
*
*/
private Date getCreateTime(){
return this.createTime;
}
/**
*
*/
private String getUpdateBy(){
return this.updateBy;
}
/**
*
*/
private Date getUpdateTime(){
return this.updateTime;
}
/**
*
*/
private String getRemark(){
return this.remark;
}
} }

View File

@ -1,266 +1,67 @@
package com.muyu.marketing.domain; package com.muyu.marketing.domain;
import javax.validation.constraints.NotBlank; import java.sql.Timestamp;
import javax.validation.constraints.Size; import java.sql.Date;
import javax.validation.constraints.NotNull; import java.sql.Time;
import java.io.Serializable; import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import java.util.Date; import lombok.Builder;
import io.swagger.annotations.ApiModelProperty; import lombok.Data;
import org.hibernate.validator.constraints.Length; import lombok.NoArgsConstructor;
/**
*
* @TableName team_strategy_exemption_hundred
*/
public class TeamStrategyExemptionHundred implements Serializable {
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "team_strategy_exemption_hundred",autoResultMap = true)
public class TeamStrategyExemptionHundred {
/** /**
* *
*/ */
@NotNull(message="[主键]不能为空") private Long id;
@ApiModelProperty("主键")
private Integer id;
/** /**
* *
*/ */
@NotNull(message="[持续时间]不能为空") private Long duration;
@ApiModelProperty("持续时间")
private Integer duration;
/** /**
* *
*/ */
@NotNull(message="[最大购买量]不能为空") private Long maxBuy;
@ApiModelProperty("最大购买量")
private Integer maxBuy;
/** /**
* *
*/ */
@NotNull(message="[单次购买量]不能为空") private Long oneBuy;
@ApiModelProperty("单次购买量")
private Integer oneBuy;
/** /**
* *
*/ */
@NotNull(message="[虚拟人数]不能为空") private Long virtualNumber;
@ApiModelProperty("虚拟人数")
private Integer virtualNumber;
/** /**
* *
*/ */
@NotBlank(message="[策略状态]不能为空")
@Size(max= 32,message="编码长度不能超过32")
@ApiModelProperty("策略状态")
@Length(max= 32,message="编码长度不能超过32")
private String status; private String status;
/** /**
* *
*/ */
@NotBlank(message="[规则信息]不能为空")
@Size(max= -1,message="编码长度不能超过-1")
@ApiModelProperty("规则信息")
@Length(max= -1,message="编码长度不能超过-1")
private String ruleInfo; private String ruleInfo;
/** /**
* *
*/ */
@Size(max= 32,message="编码长度不能超过32")
@ApiModelProperty("创建人")
@Length(max= 32,message="编码长度不能超过32")
private String createBy; private String createBy;
/** /**
* *
*/ */
@ApiModelProperty("创建时间") private Timestamp createTime;
private Date createTime;
/** /**
* *
*/ */
@Size(max= 32,message="编码长度不能超过32")
@ApiModelProperty("修改人")
@Length(max= 32,message="编码长度不能超过32")
private String updateBy; private String updateBy;
/** /**
* *
*/ */
@ApiModelProperty("修改时间") private Timestamp updateTime;
private Date updateTime;
/** /**
* *
*/ */
@Size(max= 900,message="编码长度不能超过900")
@ApiModelProperty("备注")
@Length(max= 900,message="编码长度不能超过900")
private String remark; private String remark;
/**
*
*/
private void setId(Integer id){
this.id = id;
}
/**
*
*/
private void setDuration(Integer duration){
this.duration = duration;
}
/**
*
*/
private void setMaxBuy(Integer maxBuy){
this.maxBuy = maxBuy;
}
/**
*
*/
private void setOneBuy(Integer oneBuy){
this.oneBuy = oneBuy;
}
/**
*
*/
private void setVirtualNumber(Integer virtualNumber){
this.virtualNumber = virtualNumber;
}
/**
*
*/
private void setStatus(String status){
this.status = status;
}
/**
*
*/
private void setRuleInfo(String ruleInfo){
this.ruleInfo = ruleInfo;
}
/**
*
*/
private void setCreateBy(String createBy){
this.createBy = createBy;
}
/**
*
*/
private void setCreateTime(Date createTime){
this.createTime = createTime;
}
/**
*
*/
private void setUpdateBy(String updateBy){
this.updateBy = updateBy;
}
/**
*
*/
private void setUpdateTime(Date updateTime){
this.updateTime = updateTime;
}
/**
*
*/
private void setRemark(String remark){
this.remark = remark;
}
/**
*
*/
private Integer getId(){
return this.id;
}
/**
*
*/
private Integer getDuration(){
return this.duration;
}
/**
*
*/
private Integer getMaxBuy(){
return this.maxBuy;
}
/**
*
*/
private Integer getOneBuy(){
return this.oneBuy;
}
/**
*
*/
private Integer getVirtualNumber(){
return this.virtualNumber;
}
/**
*
*/
private String getStatus(){
return this.status;
}
/**
*
*/
private String getRuleInfo(){
return this.ruleInfo;
}
/**
*
*/
private String getCreateBy(){
return this.createBy;
}
/**
*
*/
private Date getCreateTime(){
return this.createTime;
}
/**
*
*/
private String getUpdateBy(){
return this.updateBy;
}
/**
*
*/
private Date getUpdateTime(){
return this.updateTime;
}
/**
*
*/
private String getRemark(){
return this.remark;
}
} }

View File

@ -1,264 +1,67 @@
package com.muyu.marketing.domain; package com.muyu.marketing.domain;
import javax.validation.constraints.NotBlank; import java.sql.Timestamp;
import javax.validation.constraints.Size; import java.sql.Date;
import javax.validation.constraints.NotNull; import java.sql.Time;
import java.io.Serializable; import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import java.util.Date; import lombok.Builder;
import io.swagger.annotations.ApiModelProperty; import lombok.Data;
import org.hibernate.validator.constraints.Length; import lombok.NoArgsConstructor;
/**
*
* @TableName team_strategy_exemption_ordinary
*/
public class TeamStrategyExemptionOrdinary implements Serializable {
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "team_strategy_exemption_ordinary",autoResultMap = true)
public class TeamStrategyExemptionOrdinary {
/** /**
* *
*/ */
@NotNull(message="[主键]不能为空") private Long id;
@ApiModelProperty("主键")
private Integer id;
/** /**
* *
*/ */
@NotNull(message="[持续时间]不能为空") private Long duration;
@ApiModelProperty("持续时间")
private Integer duration;
/** /**
* *
*/ */
@NotNull(message="[成团人数]不能为空") private Long teamNumber;
@ApiModelProperty("成团人数")
private Integer teamNumber;
/** /**
* *
*/ */
@NotNull(message="[最大购买量]不能为空") private Long maxBuy;
@ApiModelProperty("最大购买量")
private Integer maxBuy;
/** /**
* *
*/ */
@NotNull(message="[单次购买量]不能为空") private Long oneBuy;
@ApiModelProperty("单次购买量")
private Integer oneBuy;
/** /**
* *
*/ */
@NotNull(message="[虚拟人数]不能为空") private Long virtualNumber;
@ApiModelProperty("虚拟人数")
private Integer virtualNumber;
/** /**
* *
*/ */
@NotBlank(message="[策略状态]不能为空")
@Size(max= 32,message="编码长度不能超过32")
@ApiModelProperty("策略状态")
@Length(max= 32,message="编码长度不能超过32")
private String status; private String status;
/** /**
* *
*/ */
@Size(max= 32,message="编码长度不能超过32")
@ApiModelProperty("创建人")
@Length(max= 32,message="编码长度不能超过32")
private String createBy; private String createBy;
/** /**
* *
*/ */
@ApiModelProperty("创建时间") private Timestamp createTime;
private Date createTime;
/** /**
* *
*/ */
@Size(max= 32,message="编码长度不能超过32")
@ApiModelProperty("修改人")
@Length(max= 32,message="编码长度不能超过32")
private String updateBy; private String updateBy;
/** /**
* *
*/ */
@ApiModelProperty("修改时间") private Timestamp updateTime;
private Date updateTime;
/** /**
* *
*/ */
@Size(max= 900,message="编码长度不能超过900")
@ApiModelProperty("备注")
@Length(max= 900,message="编码长度不能超过900")
private String remark; private String remark;
/**
*
*/
private void setId(Integer id){
this.id = id;
}
/**
*
*/
private void setDuration(Integer duration){
this.duration = duration;
}
/**
*
*/
private void setTeamNumber(Integer teamNumber){
this.teamNumber = teamNumber;
}
/**
*
*/
private void setMaxBuy(Integer maxBuy){
this.maxBuy = maxBuy;
}
/**
*
*/
private void setOneBuy(Integer oneBuy){
this.oneBuy = oneBuy;
}
/**
*
*/
private void setVirtualNumber(Integer virtualNumber){
this.virtualNumber = virtualNumber;
}
/**
*
*/
private void setStatus(String status){
this.status = status;
}
/**
*
*/
private void setCreateBy(String createBy){
this.createBy = createBy;
}
/**
*
*/
private void setCreateTime(Date createTime){
this.createTime = createTime;
}
/**
*
*/
private void setUpdateBy(String updateBy){
this.updateBy = updateBy;
}
/**
*
*/
private void setUpdateTime(Date updateTime){
this.updateTime = updateTime;
}
/**
*
*/
private void setRemark(String remark){
this.remark = remark;
}
/**
*
*/
private Integer getId(){
return this.id;
}
/**
*
*/
private Integer getDuration(){
return this.duration;
}
/**
*
*/
private Integer getTeamNumber(){
return this.teamNumber;
}
/**
*
*/
private Integer getMaxBuy(){
return this.maxBuy;
}
/**
*
*/
private Integer getOneBuy(){
return this.oneBuy;
}
/**
*
*/
private Integer getVirtualNumber(){
return this.virtualNumber;
}
/**
*
*/
private String getStatus(){
return this.status;
}
/**
*
*/
private String getCreateBy(){
return this.createBy;
}
/**
*
*/
private Date getCreateTime(){
return this.createTime;
}
/**
*
*/
private String getUpdateBy(){
return this.updateBy;
}
/**
*
*/
private Date getUpdateTime(){
return this.updateTime;
}
/**
*
*/
private String getRemark(){
return this.remark;
}
} }

View File

@ -0,0 +1,21 @@
package com.muyu.marketing.domain.req;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class TeamInfoReq {
/**
*
*/
private String keyWord;
/**
*
*/
private String status;
}

View File

@ -0,0 +1,61 @@
package com.muyu.marketing.domain.resp;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class TeamInfoResp{
/**
* ID
*/
private Long id;
/**
*
*/
private String name;
/**
*
*/
private String productImage;
/**
*
*/
private Double productPrice;
/**
*
*/
private Double teamPrice;
/**
*
*/
private Long attendNumber;
/**
*
*/
private Long openTeamNumber;
/**
*
*/
private Long addTeamNumber;
/**
*
*/
private Long teamStock;
/**
*
*/
private Long remainStock;
/**
*
*/
private String endTime;
/**
*
*/
private String status;
}