package com.crm.rely.backend.core.pojo.table;

import com.crm.rely.backend.core.pojo.BaseTable;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 赠送活动
 *
 * @author houn
 */
@Data
@Entity
@Table(name = "web_activity_give")
public class WebActivityGiveTable extends BaseTable {

    private String title;

    private String subTitle;

    private String countrys;

    private String coverUrl;

    private String content;

    private Date startTime;

    private Date endTime;

    private Integer hot;

    private Integer valid;

    private Date revokeDate;

    /**
     * 赠送金额 usd
     */
    private BigDecimal giveRate;

    private BigDecimal amountLimit;
    private Integer number;

}
