package cn.iocoder.yudao.module.partner.entity;

import cn.iocoder.yudao.annotation.Excel;
import cn.iocoder.yudao.framework.tenant.core.db.TenantBaseDO;
import cn.iocoder.yudao.module.shop.entity.ShopUserCar;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.util.List;

/**
 * 客户信息对象 partner_customer_info
 *
 * @author zcy
 * @date 2023-09-13
 */
@Data
public class PartnerCustomerInfo extends TenantBaseDO
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 店铺主键 */
    private Long partnerId;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String customerName;

    /** 客户手机号 */
    @Excel(name = "客户手机号")
    private String customerPhone;

    /** 用户主键 */
    private Long userId;

    /** 性别 */
    @Excel(name = "性别")
    private String sex;


    /** 年龄 */
    @Excel(name = "年龄")
    private Integer userAge;

    /** 部门主键 */
    private Long deptId;
    @TableField(exist = false)
    private List<ShopUserCar> userCarList;
    @TableField(exist = false)
    private String carNum;
    @TableField(exist = false)
    private String roleCode;
    @TableField(exist = false)
    private String roleName;
    @TableField(exist = false)
    private int orderCount;

}
