package com.ruoyi.mall.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.BaseAudit;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 用户地址
 * </p>
 *
 * @author xn
 * @since 2022-09-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("mall_member_address")
public class MemberAddress extends BaseAudit implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 收货人名称
     */
    //"收货人名称")
    private String name;

    /**
     * 是否默认
     */
    //"是否默认")
    private Boolean isDefault;

    //"邮政编码")
    private String postCode;

    /**
     * 省
     */
    //"省")
    private String province;

    /**
     * 市
     */
    //"市")
    private String city;

    //"区")
    private String district;

    /**
     * 详细地址
     */
    //"详细地址")
    private String address;

    /**
     * 电话
     */
    //"电话")
    private String phone;




}
