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;

@Data
@Entity
@Table(name = "custom_activity_surplus_give")
public class CustomActivitySurplusGiveTable extends BaseTable {

    private Long customId;

    private Long cId;

    private Long agentId;

    private String name;

    private Long login;

    private String platform;

    private BigDecimal needVolume;

    private BigDecimal needAmount;

    private BigDecimal amount;

    private BigDecimal completeVolume;

    private BigDecimal creditAmount;

    /**
     * 国家
     */
    private String country;

    /**
     * 国家中文名称
     */
    private String countryName;

    /**
     * 国家英文名称
     */
    private String countryEnName;

    private BigDecimal balance;

    /**
     * 状态：1:任务中 2:完成任务 3:已取消 4:已结束
     */
    private Integer status;

    /**
     * 撤销信用 1未撤销 2：已撤销
     */
    private Integer revokeCredit;

    private Integer withdrawStatus;

    private BigDecimal depositAmount;

    private Date endTime;

    private Date endDate;

}
