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

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

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

/**
 * Created by max on 2020/5/11.
 */
@Data
@Entity
public class CustomGroupView extends BaseTable {

    private String code;

    private String name;

    /**
     * 外佣
     */
    private Float comPoint;
    /**
     * 仓位
     */
    private Integer pos;
    /**
     * 账户类型
     */
    private Long type;
    /**
     * 账户类型名称
     */
    private String typeName;

    private String platform;

    private String currency;

    private Date addTime;

    private Long groupType;

    private Integer rebateValid;

    private Integer commissionValid;

    private Integer integralValid;
    /**
     * 是否参与销售佣金计算
     */
    private Integer salesCommissionValid;
    /**
     * 是否参与仓息
     * 1：是，0：否
     */
    private Integer storageValid;
    /**
     * 是否参与加点
     * 1：是，0：否
     */
    private Integer pointValid;
    /**
     * 是否参与暗点
     * 1：是，0：否
     */
    private Integer hideValid;
}
