feat():添加

master
崔福波 2024-11-24 21:54:19 +08:00
parent 80b3a5eef8
commit fddb4a7a5d
12 changed files with 2185 additions and 0 deletions

View File

@ -0,0 +1,78 @@
package com.muyu.domain;
import com.muyu.domain.model.ActivityTeamInfoAddModel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.Date;
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class ActivityTeamInfo {
/**
*
*/
private long id;
/**
*
*/
private String name;
/**
* ID
*/
private long projectId;
/**
*
*/
private String productImage;
/**
*
*/
private String introduction;
/**
*
*/
private String unit;
/**
*
*/
private String imageList;
/**
*
*/
private Date endTime;
/**
*
*/
private long sort;
/**
*
*/
private String content;
/**
*
*/
private String status;
/**
*
*/
private String strategyType;
/**
* ID
*/
private long strategyId;
public ActivityTeamInfo buildList(){
return ActivityTeamInfo.builder()
.status(this.status)
.build();
}
}

View File

@ -0,0 +1,66 @@
package com.muyu.domain;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.Date;
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class ActivityTeamOpenInfo {
/**
*
*/
private long id;
/**
* ID
*/
private long teamId;
/**
*
*/
private String teamType;
/**
*
*/
private String teamStrategyId;
/**
*
*/
private String executiveType;
/**
*
*/
private Date endTime;
/**
* ID
*/
private String productId;
/**
*
*/
private String productName;
/**
*
*/
private String productSku;
/**
*
*/
private String key;
/**
* ID
*/
private String orderId;
/**
*
*/
private String status;
}

View File

@ -0,0 +1,45 @@
package com.muyu.domain;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.math.BigDecimal;
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class ActivityTeamProductSkuInfo {
/**
*
*/
private long id;
/**
* ID
*/
private long teamId;
/**
* ID
*/
private Long productId;
/**
* SKU
*/
private String productSku;
/**
*
*/
private Long productStock;
/**
*
*/
private Long teamStock;
/**
*
*/
private BigDecimal teamPrice;
}

View File

@ -0,0 +1,51 @@
package com.muyu.domain;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class TeamStrategyExemption {
/**
*
*/
private long id;
/**
*
*/
private long duration;
/**
*
*/
private long exemptionNumber;
/**
*
*/
private long maxBuy;
/**
*
*/
private long oneBuy;
/**
*
*/
private long virtualNumber;
/**
*
*/
private String type;
/**
*
*/
private String ruleInfo;
/**
*
*/
private String status;
}

View File

@ -0,0 +1,45 @@
package com.muyu.domain;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class TeamStrategyExemptionHundred {
/**
*
*/
private long id;
/**
*
*/
private long duration;
/**
*
*/
private long maxBuy;
/**
*
*/
private long oneBuy;
/**
*
*/
private long virtualNumber;
/**
*
*/
private String status;
/**
*
*/
private String ruleInfo;
}

View File

@ -0,0 +1,43 @@
package com.muyu.domain;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class TeamStrategyExemptionOrdinary {
/**
*
*/
private long id;
/**
*
*/
private long duration;
/**
*
*/
private long teamNumber;
/**
*
*/
private long maxBuy;
/**
*
*/
private long oneBuy;
/**
*
*/
private long virtualNumber;
/**
*
*/
private String status;
}

View File

@ -0,0 +1,395 @@
package generator.domain;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;
/**
*
* @TableName activity_team_info
*/
public class ActivityTeamInfo implements Serializable {
/**
*
*/
@NotNull(message="[主键]不能为空")
@ApiModelProperty("主键")
private Integer id;
/**
*
*/
@Size(max= 255,message="编码长度不能超过255")
@ApiModelProperty("拼团名称")
@Length(max= 255,message="编码长度不能超过255")
private String name;
/**
* ID
*/
@NotNull(message="[商品ID]不能为空")
@ApiModelProperty("商品ID")
private Long productId;
/**
*
*/
@NotBlank(message="[商品活动图]不能为空")
@Size(max= 128,message="编码长度不能超过128")
@ApiModelProperty("商品活动图")
@Length(max= 128,message="编码长度不能超过128")
private String productImage;
/**
*
*/
@Size(max= -1,message="编码长度不能超过-1")
@ApiModelProperty("活动简介")
@Length(max= -1,message="编码长度不能超过-1")
private String introduction;
/**
*
*/
@NotBlank(message="[单位]不能为空")
@Size(max= 255,message="编码长度不能超过255")
@ApiModelProperty("单位")
@Length(max= 255,message="编码长度不能超过255")
private String unit;
/**
*
*/
@NotBlank(message="[轮播图]不能为空")
@Size(max= -1,message="编码长度不能超过-1")
@ApiModelProperty("轮播图")
@Length(max= -1,message="编码长度不能超过-1")
private String imageList;
/**
*
*/
@NotNull(message="[活动结束时间]不能为空")
@ApiModelProperty("活动结束时间")
private Date endTime;
/**
*
*/
@NotNull(message="[活动排序]不能为空")
@ApiModelProperty("活动排序")
private Integer sort;
/**
*
*/
@Size(max= -1,message="编码长度不能超过-1")
@ApiModelProperty("活动详情")
@Length(max= -1,message="编码长度不能超过-1")
private String content;
/**
*
*/
@NotBlank(message="[活动状态]不能为空")
@Size(max= 32,message="编码长度不能超过32")
@ApiModelProperty("活动状态")
@Length(max= 32,message="编码长度不能超过32")
private String status;
/**
*
*/
@NotBlank(message="[策略类型]不能为空")
@Size(max= 32,message="编码长度不能超过32")
@ApiModelProperty("策略类型")
@Length(max= 32,message="编码长度不能超过32")
private String strategyType;
/**
* ID
*/
@NotNull(message="[策略ID]不能为空")
@ApiModelProperty("策略ID")
private Long strategyId;
/**
*
*/
@Size(max= 900,message="编码长度不能超过900")
@ApiModelProperty("备注")
@Length(max= 900,message="编码长度不能超过900")
private String remark;
/**
*
*/
@Size(max= 32,message="编码长度不能超过32")
@ApiModelProperty("创建人")
@Length(max= 32,message="编码长度不能超过32")
private String createBy;
/**
*
*/
@ApiModelProperty("创建时间")
private Date createTime;
/**
*
*/
@Size(max= 32,message="编码长度不能超过32")
@ApiModelProperty("修改人")
@Length(max= 32,message="编码长度不能超过32")
private String updateBy;
/**
*
*/
@ApiModelProperty("修改时间")
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

@ -0,0 +1,379 @@
package generator.domain;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;
/**
*
* @TableName activity_team_open_info
*/
public class ActivityTeamOpenInfo implements Serializable {
/**
*
*/
@NotNull(message="[主键]不能为空")
@ApiModelProperty("主键")
private Integer id;
/**
* ID
*/
@NotNull(message="[团购活动ID]不能为空")
@ApiModelProperty("团购活动ID")
private Long teamId;
/**
*
*/
@NotBlank(message="[团购类型]不能为空")
@Size(max= 255,message="编码长度不能超过255")
@ApiModelProperty("团购类型")
@Length(max= 255,message="编码长度不能超过255")
private String teamType;
/**
*
*/
@NotBlank(message="[团购策略]不能为空")
@Size(max= 255,message="编码长度不能超过255")
@ApiModelProperty("团购策略")
@Length(max= 255,message="编码长度不能超过255")
private String teamStrategyId;
/**
*
*/
@NotBlank(message="[参团类型]不能为空")
@Size(max= 32,message="编码长度不能超过32")
@ApiModelProperty("参团类型")
@Length(max= 32,message="编码长度不能超过32")
private String executiveType;
/**
*
*/
@NotNull(message="[结束团购时间]不能为空")
@ApiModelProperty("结束团购时间")
private Date endTime;
/**
* ID
*/
@NotBlank(message="[商品ID]不能为空")
@Size(max= 255,message="编码长度不能超过255")
@ApiModelProperty("商品ID")
@Length(max= 255,message="编码长度不能超过255")
private String productId;
/**
*
*/
@NotBlank(message="[商品名称]不能为空")
@Size(max= 255,message="编码长度不能超过255")
@ApiModelProperty("商品名称")
@Length(max= 255,message="编码长度不能超过255")
private String productName;
/**
*
*/
@NotBlank(message="[商品规格]不能为空")
@Size(max= 255,message="编码长度不能超过255")
@ApiModelProperty("商品规格")
@Length(max= 255,message="编码长度不能超过255")
private String productSku;
/**
*
*/
@NotBlank(message="[开团标识]不能为空")
@Size(max= 255,message="编码长度不能超过255")
@ApiModelProperty("开团标识")
@Length(max= 255,message="编码长度不能超过255")
private String key;
/**
* ID
*/
@Size(max= 255,message="编码长度不能超过255")
@ApiModelProperty("订单ID")
@Length(max= 255,message="编码长度不能超过255")
private String orderId;
/**
*
*/
@NotBlank(message="[开团状态]不能为空")
@Size(max= 255,message="编码长度不能超过255")
@ApiModelProperty("开团状态")
@Length(max= 255,message="编码长度不能超过255")
private String status;
/**
*
*/
@Size(max= 32,message="编码长度不能超过32")
@ApiModelProperty("创建人")
@Length(max= 32,message="编码长度不能超过32")
private String createBy;
/**
*
*/
@ApiModelProperty("创建时间")
private Date createTime;
/**
*
*/
@Size(max= 32,message="编码长度不能超过32")
@ApiModelProperty("修改人")
@Length(max= 32,message="编码长度不能超过32")
private String updateBy;
/**
*
*/
@ApiModelProperty("修改时间")
private Date updateTime;
/**
*
*/
@Size(max= 900,message="编码长度不能超过900")
@ApiModelProperty("备注")
@Length(max= 900,message="编码长度不能超过900")
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

@ -0,0 +1,246 @@
package generator.domain;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;
/**
*
* @TableName activity_team_product_sku_info
*/
public class ActivityTeamProductSkuInfo implements Serializable {
/**
*
*/
@NotNull(message="[主键]不能为空")
@ApiModelProperty("主键")
private Integer id;
/**
* ID
*/
@NotNull(message="[活动ID]不能为空")
@ApiModelProperty("活动ID")
private Long teamId;
/**
* ID
*/
@Size(max= 255,message="编码长度不能超过255")
@ApiModelProperty("商品ID")
@Length(max= 255,message="编码长度不能超过255")
private String productId;
/**
* SKU
*/
@Size(max= 255,message="编码长度不能超过255")
@ApiModelProperty("商品SKU")
@Length(max= 255,message="编码长度不能超过255")
private String productSku;
/**
*
*/
@Size(max= 255,message="编码长度不能超过255")
@ApiModelProperty("拼团库存")
@Length(max= 255,message="编码长度不能超过255")
private String teamStock;
/**
*
*/
@Size(max= 255,message="编码长度不能超过255")
@ApiModelProperty("拼团价格")
@Length(max= 255,message="编码长度不能超过255")
private String teamPrice;
/**
*
*/
@Size(max= 32,message="编码长度不能超过32")
@ApiModelProperty("创建人")
@Length(max= 32,message="编码长度不能超过32")
private String createBy;
/**
*
*/
@ApiModelProperty("创建时间")
private Date createTime;
/**
*
*/
@Size(max= 32,message="编码长度不能超过32")
@ApiModelProperty("修改人")
@Length(max= 32,message="编码长度不能超过32")
private String updateBy;
/**
*
*/
@ApiModelProperty("修改时间")
private Date updateTime;
/**
*
*/
@Size(max= 900,message="编码长度不能超过900")
@ApiModelProperty("备注")
@Length(max= 900,message="编码长度不能超过900")
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

@ -0,0 +1,307 @@
package generator.domain;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;
/**
*
* @TableName team_strategy_exemption
*/
public class TeamStrategyExemption implements Serializable {
/**
*
*/
@NotNull(message="[主键]不能为空")
@ApiModelProperty("主键")
private Integer id;
/**
*
*/
@NotNull(message="[持续时间]不能为空")
@ApiModelProperty("持续时间")
private Integer duration;
/**
*
*/
@NotNull(message="[免单人数]不能为空")
@ApiModelProperty("免单人数")
private Integer exemptionNumber;
/**
*
*/
@NotNull(message="[最大购买量]不能为空")
@ApiModelProperty("最大购买量")
private Integer maxBuy;
/**
*
*/
@NotNull(message="[单次购买量]不能为空")
@ApiModelProperty("单次购买量")
private Integer oneBuy;
/**
*
*/
@NotNull(message="[虚拟人数]不能为空")
@ApiModelProperty("虚拟人数")
private Integer virtualNumber;
/**
*
*/
@NotBlank(message="[面单类型]不能为空")
@Size(max= 32,message="编码长度不能超过32")
@ApiModelProperty("面单类型")
@Length(max= 32,message="编码长度不能超过32")
private String type;
/**
*
*/
@Size(max= -1,message="编码长度不能超过-1")
@ApiModelProperty("返款阶梯")
@Length(max= -1,message="编码长度不能超过-1")
private String ruleInfo;
/**
*
*/
@NotBlank(message="[策略状态]不能为空")
@Size(max= 32,message="编码长度不能超过32")
@ApiModelProperty("策略状态")
@Length(max= 32,message="编码长度不能超过32")
private String status;
/**
*
*/
@Size(max= 32,message="编码长度不能超过32")
@ApiModelProperty("创建人")
@Length(max= 32,message="编码长度不能超过32")
private String createBy;
/**
*
*/
@ApiModelProperty("创建时间")
private Date createTime;
/**
*
*/
@Size(max= 32,message="编码长度不能超过32")
@ApiModelProperty("修改人")
@Length(max= 32,message="编码长度不能超过32")
private String updateBy;
/**
*
*/
@ApiModelProperty("修改时间")
private Date updateTime;
/**
*
*/
@Size(max= 900,message="编码长度不能超过900")
@ApiModelProperty("备注")
@Length(max= 900,message="编码长度不能超过900")
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

@ -0,0 +1,266 @@
package generator.domain;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;
/**
*
* @TableName team_strategy_exemption_hundred
*/
public class TeamStrategyExemptionHundred implements Serializable {
/**
*
*/
@NotNull(message="[主键]不能为空")
@ApiModelProperty("主键")
private Integer id;
/**
*
*/
@NotNull(message="[持续时间]不能为空")
@ApiModelProperty("持续时间")
private Integer duration;
/**
*
*/
@NotNull(message="[最大购买量]不能为空")
@ApiModelProperty("最大购买量")
private Integer maxBuy;
/**
*
*/
@NotNull(message="[单次购买量]不能为空")
@ApiModelProperty("单次购买量")
private Integer oneBuy;
/**
*
*/
@NotNull(message="[虚拟人数]不能为空")
@ApiModelProperty("虚拟人数")
private Integer virtualNumber;
/**
*
*/
@NotBlank(message="[策略状态]不能为空")
@Size(max= 32,message="编码长度不能超过32")
@ApiModelProperty("策略状态")
@Length(max= 32,message="编码长度不能超过32")
private String status;
/**
*
*/
@NotBlank(message="[规则信息]不能为空")
@Size(max= -1,message="编码长度不能超过-1")
@ApiModelProperty("规则信息")
@Length(max= -1,message="编码长度不能超过-1")
private String ruleInfo;
/**
*
*/
@Size(max= 32,message="编码长度不能超过32")
@ApiModelProperty("创建人")
@Length(max= 32,message="编码长度不能超过32")
private String createBy;
/**
*
*/
@ApiModelProperty("创建时间")
private Date createTime;
/**
*
*/
@Size(max= 32,message="编码长度不能超过32")
@ApiModelProperty("修改人")
@Length(max= 32,message="编码长度不能超过32")
private String updateBy;
/**
*
*/
@ApiModelProperty("修改时间")
private Date updateTime;
/**
*
*/
@Size(max= 900,message="编码长度不能超过900")
@ApiModelProperty("备注")
@Length(max= 900,message="编码长度不能超过900")
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

@ -0,0 +1,264 @@
package generator.domain;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;
/**
*
* @TableName team_strategy_exemption_ordinary
*/
public class TeamStrategyExemptionOrdinary implements Serializable {
/**
*
*/
@NotNull(message="[主键]不能为空")
@ApiModelProperty("主键")
private Integer id;
/**
*
*/
@NotNull(message="[持续时间]不能为空")
@ApiModelProperty("持续时间")
private Integer duration;
/**
*
*/
@NotNull(message="[成团人数]不能为空")
@ApiModelProperty("成团人数")
private Integer teamNumber;
/**
*
*/
@NotNull(message="[最大购买量]不能为空")
@ApiModelProperty("最大购买量")
private Integer maxBuy;
/**
*
*/
@NotNull(message="[单次购买量]不能为空")
@ApiModelProperty("单次购买量")
private Integer oneBuy;
/**
*
*/
@NotNull(message="[虚拟人数]不能为空")
@ApiModelProperty("虚拟人数")
private Integer virtualNumber;
/**
*
*/
@NotBlank(message="[策略状态]不能为空")
@Size(max= 32,message="编码长度不能超过32")
@ApiModelProperty("策略状态")
@Length(max= 32,message="编码长度不能超过32")
private String status;
/**
*
*/
@Size(max= 32,message="编码长度不能超过32")
@ApiModelProperty("创建人")
@Length(max= 32,message="编码长度不能超过32")
private String createBy;
/**
*
*/
@ApiModelProperty("创建时间")
private Date createTime;
/**
*
*/
@Size(max= 32,message="编码长度不能超过32")
@ApiModelProperty("修改人")
@Length(max= 32,message="编码长度不能超过32")
private String updateBy;
/**
*
*/
@ApiModelProperty("修改时间")
private Date updateTime;
/**
*
*/
@Size(max= 900,message="编码长度不能超过900")
@ApiModelProperty("备注")
@Length(max= 900,message="编码长度不能超过900")
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;
}
}