package com.bs.df.domain;

import com.bs.common.annotation.Excel;
import com.bs.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;

/**
 * 代理产品权限对象 df_broker_product
 *
 * @author bs
 * @date 2024-04-06
 */
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("df_broker_product")
@Data
public class DfBrokerProduct extends BaseEntity{
    private static final long serialVersionUID = 1L;

    /** id */
    @TableId(value = "id",type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Long id;

    /** 代理id */

    @Excel(name = "代理id")
    @ApiModelProperty(value = "代理id")
    private Long brokerId;

    /** 产品id */

    @Excel(name = "产品id")
    @ApiModelProperty(value = "产品id")
    private Long productId;

    /** 用户id */

    @Excel(name = "用户id")
    @ApiModelProperty(value = "用户id")
    private String userId;

    /** 代理商类型 */

//    @Excel(name = "代理商类型")
//    @ApiModelProperty(value = "代理商类型")
//    private String type;

    /** 备注 */

    @Excel(name = "备注")
    @ApiModelProperty(value = "备注")
    private String remark;

    /** 状态0草稿1上架 */

    @ApiModelProperty(value = "状态")
    private String staus;

    @TableField(exist = false)
    private String brokerName;




}
