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

45 lines
1.2 KiB
Java
Raw Normal View History

2022-05-13 10:27:08 +08:00
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;
@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;
}