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

39 lines
1.0 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;
/**
* @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;
@Excel(name = "用户状态 0生效 1冻结 2删除", readConverterExp = "0=生效,1=冻结,2=删除")
private Integer status;
@Excel(name = "用户头像", cellType = Excel.ColumnType.STRING)
private String customerLogoUrl;
}