package io.modules.item.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.SchemaProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


/**
 * 收货地址表
 *
 * @author Mark #
 * @since 1.0.0 2025-02-14
 */
@Data
@Schema(name = "收货地址表")
public class AddressDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	@SchemaProperty(name = "编号")
	private Long id;

	@SchemaProperty(name = "用户编号")
	private Long userId;

	@SchemaProperty(name = "收货人姓名")
	private String recipientName;

	@SchemaProperty(name = "详细地址")
	private String address;

	@SchemaProperty(name = "省份")
	private String province;

	@SchemaProperty(name = "城市")
	private String city;

	@SchemaProperty(name = "区域/街道")
	private String area;

	@SchemaProperty(name = "收货人联系电话")
	private String phone;

	@SchemaProperty(name = "是否是默认地址")
	private Integer isDefault;

	@SchemaProperty(name = "创建时间")
	private Date createTime;


}
