package com.wzj.soopin.member.domain.po;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;
import org.dromara.common.core.domain.model.BaseAudit;
import org.dromara.common.excel.annotation.Excel;

/**
 * 会员收货地址对象 ums_member_address
 *
 * @author zcc
 */
@Schema(description="会员收货地址对象")
@Data
@TableName("ums_member_address")
public class MemberAddress  extends BaseAudit {

    @Schema(description ="ID")
    private Long id;

    @Schema(description ="MEMBER_ID")
    @Excel(name = "MEMBER_ID")
    private Long memberId;


    @Schema(description ="收货人名称")
    @Excel(name = "收货人名称")
    private String name;

    @Schema(description ="隐藏前三位后四位的手机号")
    @Excel(name = "隐藏前三位后四位的手机号")
    private String phoneHidden;

    @Schema(description ="加密的手机号")
    @Excel(name = "加密的手机号")
    private String phoneEncrypted;

    @Schema(description ="是否为默认")
    @Excel(name = "是否为默认")
    private Integer defaultFlag;

    @Schema(description ="邮政编码")
    @Excel(name = "邮政编码")
    private String postCode;

    @Schema(description ="省份/直辖市")
    @Excel(name = "省份/直辖市")
    private String province;

    @Schema(description ="城市")
    @Excel(name = "城市")
    private String city;

    @Schema(description ="区")
    @Excel(name = "区")
    private String district;

    @Schema(description ="省份/直辖市id")
    @Excel(name = "省份/直辖市id")
    private Long provinceId;

    @Schema(description ="城市id")
    @Excel(name = "城市id")
    private Long cityId;

    @Schema(description ="区id")
    @Excel(name = "区id")
    private Long districtId;

    @Schema(description ="详细地址(街道)")
    @Excel(name = "详细地址(街道)")
    private String detailAddress;



}
