package com.seer.teach.mall.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.seer.teach.common.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author Captain
 * @since 2025-06-10
 */
@Getter
@Setter
@TableName("mall_address")
@Schema(name = "AddressEntity对象", description = "")
public class AddressEntity extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @Schema(description = "用户ID")
    @TableField("user_id")
    private Integer userId;

    @Schema(description = "收货人姓名")
    @TableField("user_name")
    private String userName;

    @TableField("is_default")
    private Integer isDefault;

    @Schema(description = "手机")
    @TableField("tel_number")
    private String telNumber;

    @Schema(description = "省")
    @TableField("province_name")
    private String provinceName;

    @Schema(description = "市")
    @TableField("city_name")
    private String cityName;

    @Schema(description = "区")
    @TableField("county_name")
    private String countyName;

    @Schema(description = "详细收货地址信息")
    @TableField("detail_info")
    private String detailInfo;

    @Schema(description = "标签")
    @TableField("label")
    private String label;

}