ghy-all/ghy-custom/src/main/java/com/ghy/customer/domain/Customer.java

70 lines
1.7 KiB
Java
Raw Normal View History

package com.ghy.customer.domain;
import com.ghy.common.annotation.Excel;
import com.ghy.common.core.domain.BaseEntity;
import lombok.Data;
import java.util.List;
/**
* @author clunt
* 消费者实体
*/
@Data
public class Customer extends BaseEntity {
private static final long serialVersionUID = 1L;
@Excel(name = "用户id", cellType = Excel.ColumnType.NUMERIC)
private Long customerId;
@Excel(name = "用户名", cellType = Excel.ColumnType.STRING)
private String name;
@Excel(name = "用户账号", cellType = Excel.ColumnType.STRING)
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;
@Excel(name = "用户状态 0生效 1冻结 2删除", readConverterExp = "0=生效,1=冻结,2=删除")
private Integer status;
@Excel(name = "用户头像", cellType = Excel.ColumnType.STRING)
private String customerLogoUrl;
@Excel(name = "上级分销人", cellType = Excel.ColumnType.NUMERIC)
private Long customerPlace;
private String customerPlaceName;
private String customerPlacePhone;
@Excel(name = "祖级分销人", cellType = Excel.ColumnType.NUMERIC)
private Long parentCustomerPlace;
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;
/*审核分销名*/
private String placeName;
/*上上级审核分销名*/
private String parentPlaceName;
}