package com.stylefeng.guns.modular.system.model;
import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;
/**
*
* 商家活动
*
*
* @author stylefeng
* @since 2022-02-19
*/
@TableName("t_merchant_activity")
public class TMerchantActivity extends Model {
private static final long serialVersionUID = 1L;
/**
* 主键
*/
@TableId(value = "id", type = IdType.AUTO)
private Integer id;
/**
* 商家id
*/
private Integer merchantId;
/**
* 公司类型(1=平台,2=分公司,3=加盟商)
*/
private Integer companyType;
/**
* 公司id
*/
private Integer companyId;
/**
* 活动类型(1=一般活动,2=赠送活动)
*/
private Integer activityType;
/**
* 活动名称
*/
private String name;
/**
* 订单类型(1,2,3)
*/
private String orderType;
/**
* 券类型(1=优惠券。2=商品券)
*/
private Integer type;
/**
* 订单金额满
*/
private Double orderAmountFull;
/**
* 订单完成数量
*/
private Integer orderNumber;
/**
* 有效天数
*/
private Integer effectiveDays;
/**
* 审核状态(1=待审核,2=审核通过,3=审核拒绝)
*/
private Integer auditStatus;
/**
* 审核备注
*/
private String auditNote;
/**
* 审核用户id
*/
private Integer auditUserId;
/**
* 审核时间
*/
private Date auditTime;
/**
* 状态(1=进行中,2=已结束)
*/
private Integer status;
/**
* 状态(1=正常,2=冻结,3=删除)
*/
private Integer state;
/**
* 添加时间
*/
private Date createTime;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public Integer getMerchantId() {
return merchantId;
}
public void setMerchantId(Integer merchantId) {
this.merchantId = merchantId;
}
public Integer getCompanyType() {
return companyType;
}
public void setCompanyType(Integer companyType) {
this.companyType = companyType;
}
public Integer getCompanyId() {
return companyId;
}
public void setCompanyId(Integer companyId) {
this.companyId = companyId;
}
public Integer getActivityType() {
return activityType;
}
public void setActivityType(Integer activityType) {
this.activityType = activityType;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getOrderType() {
return orderType;
}
public void setOrderType(String orderType) {
this.orderType = orderType;
}
public Integer getType() {
return type;
}
public void setType(Integer type) {
this.type = type;
}
public Double getOrderAmountFull() {
return orderAmountFull;
}
public void setOrderAmountFull(Double orderAmountFull) {
this.orderAmountFull = orderAmountFull;
}
public Integer getOrderNumber() {
return orderNumber;
}
public void setOrderNumber(Integer orderNumber) {
this.orderNumber = orderNumber;
}
public Integer getEffectiveDays() {
return effectiveDays;
}
public void setEffectiveDays(Integer effectiveDays) {
this.effectiveDays = effectiveDays;
}
public Integer getAuditStatus() {
return auditStatus;
}
public void setAuditStatus(Integer auditStatus) {
this.auditStatus = auditStatus;
}
public String getAuditNote() {
return auditNote;
}
public void setAuditNote(String auditNote) {
this.auditNote = auditNote;
}
public Integer getAuditUserId() {
return auditUserId;
}
public void setAuditUserId(Integer auditUserId) {
this.auditUserId = auditUserId;
}
public Date getAuditTime() {
return auditTime;
}
public void setAuditTime(Date auditTime) {
this.auditTime = auditTime;
}
public Integer getStatus() {
return status;
}
public void setStatus(Integer status) {
this.status = status;
}
public Integer getState() {
return state;
}
public void setState(Integer state) {
this.state = state;
}
public Date getCreateTime() {
return createTime;
}
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
@Override
protected Serializable pkVal() {
return this.id;
}
@Override
public String toString() {
return "TMerchantActivity{" +
"id=" + id +
", merchantId=" + merchantId +
", companyType=" + companyType +
", companyId=" + companyId +
", activityType=" + activityType +
", name=" + name +
", orderType=" + orderType +
", type=" + type +
", orderAmountFull=" + orderAmountFull +
", orderNumber=" + orderNumber +
", effectiveDays=" + effectiveDays +
", auditStatus=" + auditStatus +
", auditNote=" + auditNote +
", auditUserId=" + auditUserId +
", auditTime=" + auditTime +
", status=" + status +
", state=" + state +
", createTime=" + createTime +
"}";
}
}