package com.sqx.modules.address.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

/**
 * 内部地址
 * @author codingliang
 * @date 2025-09-13
 */
@Data
@ApiModel(value = "内部地址")
@TableName("inside_address")
public class InsideAddress implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(name = "id")
    @TableId(type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(name = "删除标识;0未删除、1已删除")
    @TableLogic(value = "0", delval = "1")
    private String delFlag;

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

    @ApiModelProperty(name = "更新时间")
    private Date updateTime;

    @ApiModelProperty(name = "站点id")
    private Long stationId;

    @ApiModelProperty(name = "配送费用")
    private BigDecimal deliveryFee;

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

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

    @ApiModelProperty(name = "区县")
    private String district;

    @ApiModelProperty(name = "地址详情")
    private String addressDetail;

    @ApiModelProperty(name = "经度")
    private Double lng;

    @ApiModelProperty(name = "维度")
    private Double lat;

    @ApiModelProperty(name = "启用状态;1启用、0禁用")
    private String status;

    @ApiModelProperty(name = "排序")
    private Integer sort;
}
