package com.stylefeng.guns.modular.system.model;
|
|
import com.baomidou.mybatisplus.activerecord.Model;
|
import com.baomidou.mybatisplus.annotations.TableField;
|
import com.baomidou.mybatisplus.annotations.TableId;
|
import com.baomidou.mybatisplus.annotations.TableName;
|
import com.baomidou.mybatisplus.enums.IdType;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* <p>
|
* 推广活动设置
|
* </p>
|
*
|
* @author 吕雪
|
* @since 2020-06-09
|
*/
|
@TableName("t_activity_generalization")
|
@Data
|
public class TActivityGeneralization extends Model<TActivityGeneralization> {
|
|
private static final long serialVersionUID = 1L;
|
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
private Integer effective;
|
|
@ApiModelProperty(value = "活动名称")
|
@TableField(value = "activityName")
|
private String activityName;
|
|
@ApiModelProperty(value = "最多参与人数")
|
@TableField(value = "participateCount")
|
private Integer participateCount;
|
|
@ApiModelProperty(value = "开始时间")
|
@TableField(value = "startTime")
|
private Date startTime;
|
|
@ApiModelProperty(value = "结束时间")
|
@TableField(value = "endTime")
|
private Date endTime;
|
|
@ApiModelProperty(value = "优惠券id")
|
@TableField(value = "couponId")
|
private Integer couponId;
|
|
@ApiModelProperty(value = "发放数量")
|
@TableField(value = "userGrantCount")
|
private Integer userGrantCount;
|
|
@ApiModelProperty(value = "每月使用数量")
|
@TableField(value = "monthUseCount")
|
private Integer monthUseCount;
|
|
@ApiModelProperty(value = "使用说明")
|
@TableField(value = "useExplain")
|
private String useExplain;
|
|
@ApiModelProperty(value = "是否删除 1=否 2=是")
|
@TableField(value = "isDelete")
|
private Integer isDelete;
|
private Integer state;
|
|
public Integer getId() {
|
return id;
|
}
|
|
public void setId(Integer id) {
|
this.id = id;
|
}
|
|
public String getActivityName() {
|
return activityName;
|
}
|
|
public void setActivityName(String activityName) {
|
this.activityName = activityName;
|
}
|
|
public Integer getParticipateCount() {
|
return participateCount;
|
}
|
|
public void setParticipateCount(Integer participateCount) {
|
this.participateCount = participateCount;
|
}
|
|
public Date getStartTime() {
|
return startTime;
|
}
|
|
public void setStartTime(Date startTime) {
|
this.startTime = startTime;
|
}
|
|
public Date getEndTime() {
|
return endTime;
|
}
|
|
public void setEndTime(Date endTime) {
|
this.endTime = endTime;
|
}
|
|
public Integer getCouponId() {
|
return couponId;
|
}
|
|
public void setCouponId(Integer couponId) {
|
this.couponId = couponId;
|
}
|
|
public Integer getUserGrantCount() {
|
return userGrantCount;
|
}
|
|
public void setUserGrantCount(Integer userGrantCount) {
|
this.userGrantCount = userGrantCount;
|
}
|
|
public Integer getMonthUseCount() {
|
return monthUseCount;
|
}
|
|
public void setMonthUseCount(Integer monthUseCount) {
|
this.monthUseCount = monthUseCount;
|
}
|
|
public String getUseExplain() {
|
return useExplain;
|
}
|
|
public void setUseExplain(String useExplain) {
|
this.useExplain = useExplain;
|
}
|
|
public Integer getIsDelete() {
|
return isDelete;
|
}
|
|
public void setIsDelete(Integer isDelete) {
|
this.isDelete = isDelete;
|
}
|
|
@Override
|
protected Serializable pkVal() {
|
return this.id;
|
}
|
|
@Override
|
public String toString() {
|
return "TActivityGeneralization{" +
|
"id=" + id +
|
", activityName='" + activityName + '\'' +
|
", participateCount=" + participateCount +
|
", startTime=" + startTime +
|
", endTime=" + endTime +
|
", couponId=" + couponId +
|
", userGrantCount=" + userGrantCount +
|
", monthUseCount=" + monthUseCount +
|
", useExplain='" + useExplain + '\'' +
|
", isDelete=" + isDelete +
|
'}';
|
}
|
}
|