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 CustomerAddress extends BaseEntity { @Excel(name = "消费者地址id", cellType = Excel.ColumnType.NUMERIC) private Long customerAddressId; @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 phone; @Excel(name = "省", cellType = Excel.ColumnType.NUMERIC) private Long provinceId; private String provinceName; private String cityName; private String countryName; @Excel(name = "市", cellType = Excel.ColumnType.NUMERIC) private Long cityId; @Excel(name = "区", cellType = Excel.ColumnType.NUMERIC) private Long countryId; @Excel(name = "详细地址") private String address; @Excel(name = "是否默认地址,0.普通地址, 1.默认地址", cellType = Excel.ColumnType.STRING) private Integer isDefault; @Excel(name = "是否有效,0.有效, 1.无效", cellType = Excel.ColumnType.STRING) private Integer status; }