package com.cftech.module.activity.core.model;

import com.cftech.core.generic.GenericEntity;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * Created by liuling on 2017/4/19.
 * 活动获奖记录的基础类
 * 记录时间直接用createtime
 */
@Data
@NoArgsConstructor
@ToString
public class ActivityBaseResultEntity extends GenericEntity {

    /**
     * 所属的账号
     */
    private Long accountsId;
    //属于哪个活动，直接从className取值
    private String from;
    //活动的Id
    private Long activityId;
    //活动名称

    private String title;
    //访问的openId

    private String openId;
    //活动的奖励

    private String prize;
    //获得个数

    private int qty;
    //奖励的描述

    private String prizeDetail;
    //奖励的类型
    private String prizeType;
    //奖励的金额

    private String prizeAmount;


    private String fromName;

}
