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

eleme.openapi.sdk.api.entity.order.OActivity Maven / Gradle / Ivy

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

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

public class OActivity{

    /**
     * 活动id
     */
    private long id;
    public long getId() {
        return id;
    }
    public void setId(long id) {
        this.id = id;
    }
    
    /**
     * 活动模板id(categoryId=11、12、200时,有效)
     */
    private long metaId;
    public long getMetaId() {
        return metaId;
    }
    public void setMetaId(long metaId) {
        this.metaId = metaId;
    }
    
    /**
     * 活动名称
     */
    private String name;
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    
    /**
     * 活动类别
     */
    private int categoryId;
    public int getCategoryId() {
        return categoryId;
    }
    public void setCategoryId(int categoryId) {
        this.categoryId = categoryId;
    }
    
    /**
     * 饿了么承担部分
     */
    private double elemePart;
    public double getElemePart() {
        return elemePart;
    }
    public void setElemePart(double elemePart) {
        this.elemePart = elemePart;
    }
    
    /**
     * 商家承担部分
     */
    private double restaurantPart;
    public double getRestaurantPart() {
        return restaurantPart;
    }
    public void setRestaurantPart(double restaurantPart) {
        this.restaurantPart = restaurantPart;
    }
    
    /**
     * 代理商承担部分
     */
    private double familyPart;
    public double getFamilyPart() {
        return familyPart;
    }
    public void setFamilyPart(double familyPart) {
        this.familyPart = familyPart;
    }
    
    /**
     * 用户承担部分
     */
    private double userPart;
    public double getUserPart() {
        return userPart;
    }
    public void setUserPart(double userPart) {
        this.userPart = userPart;
    }
    
    /**
     * 金额
     */
    private double amount;
    public double getAmount() {
        return amount;
    }
    public void setAmount(double amount) {
        this.amount = amount;
    }
    
    /**
     * 各方承担部分
     */
    private List orderAllPartiesPartList;
    public List getOrderAllPartiesPartList() {
        return orderAllPartiesPartList;
    }
    public void setOrderAllPartiesPartList(List orderAllPartiesPartList) {
        this.orderAllPartiesPartList = orderAllPartiesPartList;
    }
    
    /**
     * 营销活动扩展信息
     */
    private String bizExtra;
    public String getBizExtra() {
        return bizExtra;
    }
    public void setBizExtra(String bizExtra) {
        this.bizExtra = bizExtra;
    }
    
    /**
     * 类型
     */
    private String type;
    public String getType() {
        return type;
    }
    public void setType(String type) {
        this.type = type;
    }
    
    /**
     * 关联活动项类型 
     */
    private String relateItemType;
    public String getRelateItemType() {
        return relateItemType;
    }
    public void setRelateItemType(String relateItemType) {
        this.relateItemType = relateItemType;
    }
    
    /**
     * 关联活动项订单号
     */
    private String relateItemOrderNo;
    public String getRelateItemOrderNo() {
        return relateItemOrderNo;
    }
    public void setRelateItemOrderNo(String relateItemOrderNo) {
        this.relateItemOrderNo = relateItemOrderNo;
    }
    
    /**
     * 商品id
     */
    private Long foodId;
    public Long getFoodId() {
        return foodId;
    }
    public void setFoodId(Long foodId) {
        this.foodId = foodId;
    }
    
    /**
     * 商品id列表
     */
    private List foodIds;
    public List getFoodIds() {
        return foodIds;
    }
    public void setFoodIds(List foodIds) {
        this.foodIds = foodIds;
    }
    
    /**
     * 优惠券code
     */
    private String couponCode;
    public String getCouponCode() {
        return couponCode;
    }
    public void setCouponCode(String couponCode) {
        this.couponCode = couponCode;
    }
    
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy