feat:商城收获地址
This commit is contained in:
1 parent
e7abf24692
commit
462a83af39
10 files changed
+515
-33
No files matched your search
+9
@@ -0,0 +1,9 @@
|
||||
package com.bsd.pjcloud.hard.api.dto.address;
|
||||
|
||||
import com.bsd.pjcloud.hard.api.entity.address.HardUserMapAddressEntity;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class HardUserMapAddressDto extends HardUserMapAddressEntity {
|
||||
|
||||
}
|
||||
+131
@@ -0,0 +1,131 @@
|
||||
package com.bsd.pjcloud.hard.api.entity.address;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import com.baomidou.mybatisplus.extension.activerecord.Model;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import com.bsd.pjcloud.common.core.util.TenantTable;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* 用户地址(经纬度地址用户地图选择)
|
||||
*/
|
||||
@Data
|
||||
@TenantTable
|
||||
@TableName("hard_user_map_address")
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Schema(description = "用户地址(经纬度地址用户地图选择)")
|
||||
public class HardUserMapAddressEntity extends Model<HardUserMapAddressEntity> {
|
||||
|
||||
/**
|
||||
* 编号
|
||||
*/
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
@Schema(description = "编号")
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 用户id
|
||||
*/
|
||||
@Schema(description = "用户id")
|
||||
private Long userId;
|
||||
|
||||
/**
|
||||
* 详细地址,
|
||||
*/
|
||||
@Schema(description = "详细地址,")
|
||||
private String inputAddress;
|
||||
|
||||
/**
|
||||
* 省
|
||||
*/
|
||||
@Schema(description = "省")
|
||||
private String province;
|
||||
|
||||
/**
|
||||
* 市
|
||||
*/
|
||||
@Schema(description = "市")
|
||||
private String city;
|
||||
|
||||
/**
|
||||
* 区
|
||||
*/
|
||||
@Schema(description = "区")
|
||||
private String district;
|
||||
|
||||
/**
|
||||
* 街道
|
||||
*/
|
||||
@Schema(description = "街道")
|
||||
private String street;
|
||||
|
||||
/**
|
||||
* 详细地址
|
||||
*/
|
||||
@Schema(description = "详细地址")
|
||||
private String adressDetail;
|
||||
|
||||
/**
|
||||
* 完整地址,拼接
|
||||
*/
|
||||
@Schema(description = "完整地址,拼接")
|
||||
private String fullAddress;
|
||||
|
||||
/**
|
||||
* 经度
|
||||
*/
|
||||
@Schema(description = "经度")
|
||||
private BigDecimal longitude;
|
||||
|
||||
/**
|
||||
* 纬度
|
||||
*/
|
||||
@Schema(description = "纬度")
|
||||
private BigDecimal latitude;
|
||||
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
@TableField(fill = FieldFill.INSERT)
|
||||
@Schema(description = "创建人")
|
||||
private String createBy;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@TableField(fill = FieldFill.INSERT)
|
||||
@Schema(description = "创建时间")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
/**
|
||||
* 修改人
|
||||
*/
|
||||
@TableField(fill = FieldFill.INSERT_UPDATE)
|
||||
@Schema(description = "修改人")
|
||||
private String updateBy;
|
||||
|
||||
/**
|
||||
* 修改时间
|
||||
*/
|
||||
@TableField(fill = FieldFill.INSERT_UPDATE)
|
||||
@Schema(description = "修改时间")
|
||||
private LocalDateTime updateTime;
|
||||
|
||||
/**
|
||||
* 删除标记
|
||||
*/
|
||||
@TableLogic
|
||||
@TableField(fill = FieldFill.INSERT)
|
||||
@Schema(description = "删除标记")
|
||||
private String delFlag;
|
||||
|
||||
/**
|
||||
* 租户ID
|
||||
*/
|
||||
@Schema(description = "租户ID")
|
||||
private Long tenantId;
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
package com.bsd.pjcloud.hard.api.vo.address;
|
||||
|
||||
import com.bsd.pjcloud.hard.api.entity.address.HardUserMapAddressEntity;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class HardUserMapAddressVo extends HardUserMapAddressEntity {
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user