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;

/**
 * Created by max on 2020/7/14.
 * 代理佣金余额修改
 */
@Data
@Entity
@Table(name = "agent_balance_record")
public class AgentBalanceRecordTable extends BaseTable{

    private Long agentId;

    private Float amount;
    /**
     * 操作类型，1：增加，2：减少
     */
    private Integer type;
    /**
     * 佣金类型 1：内佣，2：外佣 , 3: 跟单分润 4:活动 5:代理余额内转
     */
    private Integer balanceType;

    private String comment;

    private Long salesId;


}
