| | |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.util.Date; |
| | | |
| | | import lombok.Data; |
| | |
| | | @TableField("contact_email") |
| | | private String contactEmail; |
| | | |
| | | /** |
| | | * 地区名称 |
| | | */ |
| | | @TableField("region_label") |
| | | private String regionLabel; |
| | | |
| | | /** |
| | | * 国家ID |
| | |
| | | */ |
| | | @TableField("street_id") |
| | | private String streetId; |
| | | @TableField(exist = false) |
| | | private String region; |
| | | |
| | | public String getRegion() { |
| | | if (provinceId != null){ |
| | | region = provinceId; |
| | | } |
| | | if (cityId != null){ |
| | | region = region +"," + cityId; |
| | | } |
| | | if (districtId != null){ |
| | | region = region +"," + districtId; |
| | | } |
| | | if (streetId != null){ |
| | | region = region +"," + streetId; |
| | | } |
| | | return region; |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | |
| | | @TableField("dispatch_transport_area") |
| | | private String dispatchTransportArea; |
| | | |
| | | @TableField("electronic_fence_range") |
| | | private BigDecimal electronicFenceRange; |
| | | |
| | | /** |
| | | * 地图位置(经纬度) |