2022-03-22 14:46:05 +08:00
|
|
|
package com.ghy.customer.domain;
|
|
|
|
|
|
|
|
|
|
import com.ghy.common.annotation.Excel;
|
|
|
|
|
import com.ghy.common.core.domain.BaseEntity;
|
|
|
|
|
import lombok.Data;
|
|
|
|
|
|
2022-05-11 17:35:13 +08:00
|
|
|
import java.util.List;
|
|
|
|
|
|
2022-03-22 14:46:05 +08:00
|
|
|
/**
|
|
|
|
|
* @author clunt
|
|
|
|
|
* 消费者实体
|
|
|
|
|
*/
|
|
|
|
|
@Data
|
|
|
|
|
public class Customer extends BaseEntity {
|
|
|
|
|
|
2022-04-27 11:21:14 +08:00
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
|
|
2022-03-22 14:46:05 +08:00
|
|
|
@Excel(name = "用户id", cellType = Excel.ColumnType.NUMERIC)
|
|
|
|
|
private Long customerId;
|
|
|
|
|
|
|
|
|
|
@Excel(name = "用户名", cellType = Excel.ColumnType.STRING)
|
|
|
|
|
private String name;
|
|
|
|
|
|
2022-04-27 16:12:26 +08:00
|
|
|
@Excel(name = "用户账号", cellType = Excel.ColumnType.STRING)
|
2022-03-22 14:46:05 +08:00
|
|
|
private String account;
|
|
|
|
|
|
|
|
|
|
@Excel(name = "用户手机号", cellType = Excel.ColumnType.STRING)
|
|
|
|
|
private String phone;
|
|
|
|
|
|
|
|
|
|
@Excel(name = "微信open_id", cellType = Excel.ColumnType.STRING)
|
|
|
|
|
private String openId;
|
|
|
|
|
|
2022-05-02 16:31:54 +08:00
|
|
|
@Excel(name = "密码", cellType = Excel.ColumnType.STRING)
|
|
|
|
|
private String password;
|
|
|
|
|
|
2022-03-22 14:46:05 +08:00
|
|
|
@Excel(name = "用户状态 0生效 1冻结 2删除", readConverterExp = "0=生效,1=冻结,2=删除")
|
|
|
|
|
private Integer status;
|
|
|
|
|
|
|
|
|
|
@Excel(name = "用户头像", cellType = Excel.ColumnType.STRING)
|
|
|
|
|
private String customerLogoUrl;
|
|
|
|
|
|
2022-05-11 17:35:13 +08:00
|
|
|
@Excel(name = "上级分销人", cellType = Excel.ColumnType.NUMERIC)
|
|
|
|
|
private Long customerPlace;
|
|
|
|
|
|
2024-12-09 00:37:48 +08:00
|
|
|
|
|
|
|
|
private String customerPlaceName;
|
|
|
|
|
|
|
|
|
|
private String customerPlacePhone;
|
|
|
|
|
|
2022-05-11 17:35:13 +08:00
|
|
|
@Excel(name = "祖级分销人", cellType = Excel.ColumnType.NUMERIC)
|
|
|
|
|
private Long parentCustomerPlace;
|
2022-03-22 14:46:05 +08:00
|
|
|
|
2024-12-09 00:37:48 +08:00
|
|
|
private String parentCustomerPlaceName;
|
|
|
|
|
|
|
|
|
|
private String parentCustomerPlacePhone;
|
|
|
|
|
|
2022-07-20 16:03:44 +08:00
|
|
|
private Integer placeStatus;
|
|
|
|
|
|
2022-11-16 01:58:58 +08:00
|
|
|
// 是否为分销商
|
|
|
|
|
private Boolean isDistributor;
|
|
|
|
|
|
|
|
|
|
private List<Long> customerPlaces;
|
2024-12-09 00:37:48 +08:00
|
|
|
|
|
|
|
|
/*审核分销名*/
|
|
|
|
|
private String placeName;
|
|
|
|
|
|
|
|
|
|
/*上上级审核分销名*/
|
|
|
|
|
private String parentPlaceName;
|
2022-03-22 14:46:05 +08:00
|
|
|
}
|