All Downloads are FREE. Search and download functionalities are using the official Maven repository.

eleme.openapi.sdk.api.entity.activity.ActivityTemplate Maven / Gradle / Ivy

The newest version!
package eleme.openapi.sdk.api.entity.activity;

import eleme.openapi.sdk.api.enumeration.activity.*;
import eleme.openapi.sdk.api.entity.activity.*;
import java.util.*;
import java.math.BigDecimal;
import com.fasterxml.jackson.annotation.JsonFormat;

public class ActivityTemplate{

    /**
     * 店铺id
     */
    private Long shopId;
    public Long getShopId() {
        return shopId;
    }
    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }
    
    /**
     * 扣减额,单位:分
     */
    private Long reductionAmt;
    public Long getReductionAmt() {
        return reductionAmt;
    }
    public void setReductionAmt(Long reductionAmt) {
        this.reductionAmt = reductionAmt;
    }
    
    /**
     * 门槛,单位:分
     */
    private Long thresholdAmt;
    public Long getThresholdAmt() {
        return thresholdAmt;
    }
    public void setThresholdAmt(Long thresholdAmt) {
        this.thresholdAmt = thresholdAmt;
    }
    
    /**
     * 有效期
     */
    private Long duration;
    public Long getDuration() {
        return duration;
    }
    public void setDuration(Long duration) {
        this.duration = duration;
    }
    
    /**
     * 活动同享或互斥
     */
    private Boolean mutex;
    public Boolean getMutex() {
        return mutex;
    }
    public void setMutex(Boolean mutex) {
        this.mutex = mutex;
    }
    
    /**
     * 活动开始日期
     */
    @JsonFormat(locale = "zh" , timezone="GMT+8")
    private Date gmtStart;
    public Date getGmtStart() {
        return gmtStart;
    }
    public void setGmtStart(Date gmtStart) {
        this.gmtStart = gmtStart;
    }
    
    /**
     * 活动结束日期
     */
    @JsonFormat(locale = "zh" , timezone="GMT+8")
    private Date gmtEnd;
    public Date getGmtEnd() {
        return gmtEnd;
    }
    public void setGmtEnd(Date gmtEnd) {
        this.gmtEnd = gmtEnd;
    }
    
    /**
     * 可用场景信息
     */
    private List usableScenes;
    public List getUsableScenes() {
        return usableScenes;
    }
    public void setUsableScenes(List usableScenes) {
        this.usableScenes = usableScenes;
    }
    
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy