提交
This commit is contained in:
25
pxdj-java/pxdj-bean/pom.xml
Normal file
25
pxdj-java/pxdj-bean/pom.xml
Normal file
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<parent>
|
||||
<artifactId>pxdj-java</artifactId>
|
||||
<groupId>com.pxdj</groupId>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<artifactId>pxdj-bean</artifactId>
|
||||
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.pxdj</groupId>
|
||||
<artifactId>pxdj-common</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-validation</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api;
|
||||
|
||||
import cn.hutool.core.collection.CollectionUtil;
|
||||
import com.pxdj.api.bo.SmsInfoBo;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author lanhai
|
||||
*/
|
||||
public class SmsInfoContext {
|
||||
|
||||
/** The request holder. */
|
||||
private static ThreadLocal<List<SmsInfoBo>> smsInfoHolder = new ThreadLocal<List<SmsInfoBo>>();
|
||||
|
||||
|
||||
public static List<SmsInfoBo> get(){
|
||||
List<SmsInfoBo> list = smsInfoHolder.get();
|
||||
if (CollectionUtil.isEmpty(list)) {
|
||||
return new ArrayList<>();
|
||||
}
|
||||
return smsInfoHolder.get();
|
||||
}
|
||||
|
||||
public static void set(List<SmsInfoBo> smsInfoBos){
|
||||
smsInfoHolder.set(smsInfoBos);
|
||||
}
|
||||
|
||||
public static void put(SmsInfoBo smsInfoBo){
|
||||
List<SmsInfoBo> smsInfoBos = smsInfoHolder.get();
|
||||
if (CollectionUtil.isEmpty(smsInfoBos)) {
|
||||
smsInfoBos = new ArrayList<>();
|
||||
}
|
||||
smsInfoBos.add(smsInfoBo);
|
||||
smsInfoHolder.set(smsInfoBos);
|
||||
}
|
||||
|
||||
public static void clean() {
|
||||
if (smsInfoHolder.get() != null) {
|
||||
smsInfoHolder.remove();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.bo;
|
||||
|
||||
|
||||
import com.pxdj.api.enums.SmsType;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @author lanhai
|
||||
*/
|
||||
public class SmsInfoBo {
|
||||
|
||||
private SmsType smsType;
|
||||
|
||||
private String userId;
|
||||
|
||||
private String mobile;
|
||||
|
||||
private Map<String, String> params;
|
||||
|
||||
|
||||
|
||||
|
||||
public SmsInfoBo(SmsType smsType, String userId, String mobile, Map<String, String> params) {
|
||||
this.smsType = smsType;
|
||||
this.userId = userId;
|
||||
this.mobile = mobile;
|
||||
this.params = params;
|
||||
}
|
||||
|
||||
public SmsType getSmsType() {
|
||||
return smsType;
|
||||
}
|
||||
|
||||
public void setSmsType(SmsType smsType) {
|
||||
this.smsType = smsType;
|
||||
}
|
||||
|
||||
public String getUserId() {
|
||||
return userId;
|
||||
}
|
||||
|
||||
public void setUserId(String userId) {
|
||||
this.userId = userId;
|
||||
}
|
||||
|
||||
public String getMobile() {
|
||||
return mobile;
|
||||
}
|
||||
|
||||
public void setMobile(String mobile) {
|
||||
this.mobile = mobile;
|
||||
}
|
||||
|
||||
public Map<String, String> getParams() {
|
||||
return params;
|
||||
}
|
||||
|
||||
public void setParams(Map<String, String> params) {
|
||||
this.params = params;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
package com.pxdj.api.constant;
|
||||
|
||||
//通用
|
||||
public class CurrencyConstant {
|
||||
|
||||
public static final String ORDINARY_MALL = "or";
|
||||
|
||||
//身份证比对ID card
|
||||
public static final String POINTS_MALL = "poi";
|
||||
|
||||
//下单业务
|
||||
public static final String VIP = "vip";
|
||||
|
||||
//下单业务
|
||||
public static final String TK = "TK";
|
||||
|
||||
public static final int LOCATION_CACHE_EXPIRATION = 86400;
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.distribution;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
|
||||
/**
|
||||
* 用户购物数据
|
||||
* @author lanhai
|
||||
*/
|
||||
@Data
|
||||
public class UserShoppingDataDto {
|
||||
|
||||
/**
|
||||
* 用户消费笔数
|
||||
*/
|
||||
private Double expenseNumber;
|
||||
|
||||
/**
|
||||
* 用户消费金额
|
||||
*/
|
||||
private Double sumOfConsumption;
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author lanhai
|
||||
*/
|
||||
@Data
|
||||
@TableName("tz_area")
|
||||
public class Area implements Serializable {
|
||||
private static final long serialVersionUID = -6013320537436191451L;
|
||||
@TableId
|
||||
@Schema(description = "地区id" ,required=true)
|
||||
private Long areaId;
|
||||
|
||||
@Schema(description = "地区名称" ,required=true)
|
||||
private String areaName;
|
||||
|
||||
@Schema(description = "地区上级id" ,required=true)
|
||||
private Long parentId;
|
||||
|
||||
@Schema(description = "地区层级" ,required=true)
|
||||
private Integer level;
|
||||
|
||||
@TableField(exist=false)
|
||||
private List<Area> areas;
|
||||
}
|
||||
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @author lanhai
|
||||
*/
|
||||
@Data
|
||||
@TableName("tz_attach_file")
|
||||
public class AttachFile implements Serializable {
|
||||
@TableId
|
||||
|
||||
private Long fileId;
|
||||
|
||||
/**
|
||||
* 文件路径
|
||||
*/
|
||||
|
||||
private String filePath;
|
||||
|
||||
/**
|
||||
* 文件类型
|
||||
*/
|
||||
|
||||
private String fileType;
|
||||
|
||||
/**
|
||||
* 文件大小
|
||||
*/
|
||||
|
||||
private Integer fileSize;
|
||||
|
||||
/**
|
||||
* 上传时间
|
||||
*/
|
||||
|
||||
private Date uploadTime;
|
||||
|
||||
/**
|
||||
* 文件关联的表主键id
|
||||
*/
|
||||
|
||||
private Long fileJoinId;
|
||||
|
||||
/**
|
||||
* 文件关联表类型:1 商品表 @see FileJoinType
|
||||
*/
|
||||
|
||||
private Integer fileJoinType;
|
||||
}
|
||||
@@ -0,0 +1,78 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @author lanhai
|
||||
*/
|
||||
@Data
|
||||
@TableName("tz_basket")
|
||||
public class Basket implements Serializable {
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
@TableId
|
||||
|
||||
private Long basketId;
|
||||
|
||||
/**
|
||||
* 店铺ID
|
||||
*/
|
||||
|
||||
private Long shopId;
|
||||
|
||||
/**
|
||||
* 产品ID
|
||||
*/
|
||||
|
||||
private Long prodId;
|
||||
|
||||
/**
|
||||
* SkuID
|
||||
*/
|
||||
|
||||
private Long skuId;
|
||||
|
||||
/**
|
||||
* 用户ID
|
||||
*/
|
||||
|
||||
private String userId;
|
||||
|
||||
/**
|
||||
* 购物车产品个数
|
||||
*/
|
||||
|
||||
private Integer basketCount;
|
||||
|
||||
/**
|
||||
* 购物时间
|
||||
*/
|
||||
|
||||
private Date basketDate;
|
||||
|
||||
/**
|
||||
* 满减活动ID
|
||||
*/
|
||||
private Long discountId;
|
||||
|
||||
/**
|
||||
* 分销推广人卡号
|
||||
*/
|
||||
private String distributionCardNo;
|
||||
}
|
||||
@@ -0,0 +1,93 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @author lanhai
|
||||
*/
|
||||
@Data
|
||||
@TableName("tz_brand")
|
||||
public class Brand implements Serializable {
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
@TableId
|
||||
|
||||
private Long brandId;
|
||||
|
||||
/**
|
||||
* 品牌名称
|
||||
*/
|
||||
|
||||
private String brandName;
|
||||
|
||||
/**
|
||||
* 图片路径
|
||||
*/
|
||||
|
||||
private String brandPic;
|
||||
|
||||
/**
|
||||
* 用户ID
|
||||
*/
|
||||
|
||||
private String userId;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
private String memo;
|
||||
|
||||
/**
|
||||
* 顺序
|
||||
*/
|
||||
private Integer seq;
|
||||
|
||||
/**
|
||||
* 默认是1,表示正常状态,0为下线状态
|
||||
*/
|
||||
private Integer status;
|
||||
|
||||
/**
|
||||
* 简要描述
|
||||
*/
|
||||
private String brief;
|
||||
|
||||
/**
|
||||
* 记录时间
|
||||
*/
|
||||
|
||||
private Date recTime;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
|
||||
private Date updateTime;
|
||||
|
||||
/**
|
||||
* 品牌首字母
|
||||
*/
|
||||
|
||||
private String firstChar;
|
||||
|
||||
/**
|
||||
* 内容
|
||||
*/
|
||||
private String content;
|
||||
}
|
||||
@@ -0,0 +1,123 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.pxdj.common.json.ImgJsonSerializer;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author lanhai
|
||||
*/
|
||||
@Data
|
||||
@TableName("tz_category")
|
||||
public class Category implements Serializable {
|
||||
|
||||
/**
|
||||
* 类目ID
|
||||
*
|
||||
*/
|
||||
@TableId
|
||||
|
||||
private Long categoryId;
|
||||
|
||||
/**
|
||||
* 店铺id
|
||||
*/
|
||||
private Long shopId;
|
||||
|
||||
/**
|
||||
* 父节点
|
||||
*/
|
||||
private Long parentId = 0L;
|
||||
|
||||
/**
|
||||
* 产品类目名称
|
||||
*/
|
||||
private String categoryName;
|
||||
|
||||
/**
|
||||
* 类目图标
|
||||
*/
|
||||
@JsonSerialize(using = ImgJsonSerializer.class)
|
||||
private String icon;
|
||||
|
||||
/**
|
||||
* 类目的显示图片
|
||||
*/
|
||||
@JsonSerialize(using = ImgJsonSerializer.class)
|
||||
private String pic;
|
||||
|
||||
/**
|
||||
* 排序
|
||||
*/
|
||||
private Integer seq;
|
||||
|
||||
/**
|
||||
* 默认是1,表示正常状态,0为下线状态
|
||||
*/
|
||||
private Integer status;
|
||||
|
||||
/**
|
||||
* 记录时间
|
||||
*/
|
||||
private Date recTime;
|
||||
|
||||
/**
|
||||
* 分类层级
|
||||
*/
|
||||
private Integer grade;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
private Date updateTime;
|
||||
|
||||
/**
|
||||
* 品牌id
|
||||
*/
|
||||
@TableField(exist=false)
|
||||
private List<Long> brandIds;
|
||||
|
||||
/**
|
||||
* 参数id
|
||||
*/
|
||||
@TableField(exist=false)
|
||||
private List<Long> attributeIds;
|
||||
|
||||
/**
|
||||
* 品牌列表
|
||||
*/
|
||||
@TableField(exist=false)
|
||||
private List<Brand> brands;
|
||||
|
||||
/**
|
||||
* 参数列表
|
||||
*/
|
||||
@TableField(exist=false)
|
||||
private List<ProdProp> prodProps;
|
||||
|
||||
/**
|
||||
* 商品列表
|
||||
*/
|
||||
@TableField(exist=false)
|
||||
private List<Product> products;
|
||||
|
||||
@TableField(exist=false)
|
||||
private List<Category> categories;
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author lanhai
|
||||
*/
|
||||
@Data
|
||||
@TableName("tz_category_brand")
|
||||
public class CategoryBrand implements Serializable {
|
||||
@TableId
|
||||
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 分类id
|
||||
*/
|
||||
|
||||
private Long categoryId;
|
||||
|
||||
/**
|
||||
* 品牌id
|
||||
*/
|
||||
|
||||
private Long brandId;
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author lanhai
|
||||
*/
|
||||
@Data
|
||||
@TableName("tz_category_prop")
|
||||
public class CategoryProp implements Serializable {
|
||||
@TableId
|
||||
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 分类id
|
||||
*/
|
||||
|
||||
private Long categoryId;
|
||||
|
||||
/**
|
||||
* 商品属性id即表tz_prod_prop中的prop_id
|
||||
*/
|
||||
|
||||
private Long propId;
|
||||
}
|
||||
@@ -0,0 +1,65 @@
|
||||
package com.pxdj.api.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
|
||||
import lombok.Data;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
@TableName("tz_complaint")
|
||||
public class Complaint implements Serializable {
|
||||
private static final long serialVersionUID = -4644407386444894349L;
|
||||
|
||||
/**
|
||||
* 投诉ID
|
||||
*/
|
||||
@TableId
|
||||
private Long complaintId;
|
||||
|
||||
/**
|
||||
* 用户ID
|
||||
*/
|
||||
private String userId;
|
||||
|
||||
/**
|
||||
* 订单ID
|
||||
*/
|
||||
private Long orderId;
|
||||
|
||||
/**
|
||||
* 投诉内容
|
||||
*/
|
||||
private String content;
|
||||
|
||||
/**
|
||||
* 投诉图片(多个用逗号分隔)
|
||||
*/
|
||||
private String images;
|
||||
|
||||
/**
|
||||
* 投诉状态 0:未处理 1:已处理
|
||||
*/
|
||||
private Integer status;
|
||||
|
||||
/**
|
||||
* 处理结果
|
||||
*/
|
||||
private String handleResult;
|
||||
|
||||
/**
|
||||
* 创建时间(投诉时间)
|
||||
*/
|
||||
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd'T'HH:mm:ss'Z'")
|
||||
private Date createTime;
|
||||
|
||||
/**
|
||||
* 处理时间
|
||||
*/
|
||||
private Date handleTime;
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @author XUELIJUN
|
||||
*/
|
||||
@Data
|
||||
@TableName("tz_coupon")
|
||||
public class Coupon implements Serializable {
|
||||
private static final long serialVersionUID = 2090714647038636801L;
|
||||
/**
|
||||
* ID
|
||||
*/
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Long id;
|
||||
/**
|
||||
*优惠卷名称
|
||||
*/
|
||||
private String name;
|
||||
/**
|
||||
* 满多少价格
|
||||
*/
|
||||
private double price;
|
||||
/**
|
||||
* 减多少价格
|
||||
*/
|
||||
private double minusPrice;
|
||||
|
||||
/**
|
||||
* 过期时间
|
||||
*/
|
||||
private Date expireTime;
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author XUELIJUN
|
||||
*/
|
||||
@Data
|
||||
@TableName("tz_coupon_user")
|
||||
public class CouponUser implements Serializable {
|
||||
private static final long serialVersionUID = 2090714647038636803L;
|
||||
/**
|
||||
* ID
|
||||
*/
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Long id;
|
||||
/**
|
||||
*用户id
|
||||
*/
|
||||
private String userId;
|
||||
/**
|
||||
* 优惠卷id
|
||||
*/
|
||||
private Long couponId;
|
||||
/**
|
||||
* 是否删除0否1是
|
||||
*/
|
||||
private Integer isDel;
|
||||
|
||||
/**
|
||||
* 是否使用0否1是
|
||||
*/
|
||||
private Integer isUse;
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @author lanhai
|
||||
*/
|
||||
@Data
|
||||
@TableName("tz_delivery")
|
||||
public class Delivery implements Serializable {
|
||||
/**
|
||||
* ID
|
||||
*/
|
||||
@TableId
|
||||
|
||||
private Long dvyId;
|
||||
|
||||
/**
|
||||
* 物流公司名称
|
||||
*/
|
||||
|
||||
private String dvyName;
|
||||
|
||||
/**
|
||||
* 公司主页
|
||||
*/
|
||||
|
||||
private String companyHomeUrl;
|
||||
|
||||
/**
|
||||
* 建立时间
|
||||
*/
|
||||
|
||||
private Date recTime;
|
||||
|
||||
/**
|
||||
* 修改时间
|
||||
*/
|
||||
|
||||
private Date modifyTime;
|
||||
|
||||
/**
|
||||
* 物流查询接口
|
||||
*/
|
||||
|
||||
private String queryUrl;
|
||||
}
|
||||
@@ -0,0 +1,92 @@
|
||||
package com.pxdj.api.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.pxdj.common.json.ImgJsonSerializer;
|
||||
import lombok.Data;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
@TableName("tz_discovery")
|
||||
public class Discovery implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 发现ID
|
||||
*/
|
||||
@TableId
|
||||
private Long discoveryId;
|
||||
|
||||
/**
|
||||
* 商户ID
|
||||
*/
|
||||
private Long merchantId;
|
||||
|
||||
/**
|
||||
* 分类ID
|
||||
*/
|
||||
private Long categoryId;
|
||||
|
||||
/**
|
||||
* 标题
|
||||
*/
|
||||
private String title;
|
||||
|
||||
/**
|
||||
* 内容
|
||||
*/
|
||||
private String content;
|
||||
|
||||
/**
|
||||
* 图片地址,多个图片用逗号分隔
|
||||
*/
|
||||
@JsonSerialize(using = ImgJsonSerializer.class)
|
||||
private String images;
|
||||
|
||||
/**
|
||||
* 阅读数
|
||||
*/
|
||||
private Integer readCount;
|
||||
|
||||
/**
|
||||
* 点赞数
|
||||
*/
|
||||
private Integer likeCount;
|
||||
|
||||
/**
|
||||
* 状态 1:正常 0:下架
|
||||
*/
|
||||
private Integer status;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private Date createTime;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
private Date updateTime;
|
||||
|
||||
/**
|
||||
* 关联的商户信息
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
private Merchant merchant;
|
||||
|
||||
/**
|
||||
* 关联的分类信息
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
private DiscoveryCategory category;
|
||||
|
||||
/**
|
||||
* 图片列表
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
private List<String> imageList;
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
package com.pxdj.api.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
@TableName("tz_discovery_category")
|
||||
public class DiscoveryCategory implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 分类ID
|
||||
*/
|
||||
@TableId
|
||||
private Long categoryId;
|
||||
|
||||
/**
|
||||
* 分类名称
|
||||
*/
|
||||
private String categoryName;
|
||||
|
||||
/**
|
||||
* 状态 1:正常 0:禁用
|
||||
*/
|
||||
private Integer status;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private Date createTime;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
private Date updateTime;
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
package com.pxdj.api.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 发现点赞记录
|
||||
*/
|
||||
@Data
|
||||
@TableName("tz_discovery_like")
|
||||
public class DiscoveryLike implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 记录ID
|
||||
*/
|
||||
@TableId
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 发现ID
|
||||
*/
|
||||
private Long discoveryId;
|
||||
|
||||
/**
|
||||
* 商户ID
|
||||
*/
|
||||
private Long merchantId;
|
||||
|
||||
/**
|
||||
* 用户ID
|
||||
*/
|
||||
private String userId;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private Date createTime;
|
||||
}
|
||||
@@ -0,0 +1,95 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 用户反馈
|
||||
*
|
||||
* @author your-name
|
||||
* @date 2024-04-xx
|
||||
*/
|
||||
@Data
|
||||
@TableName("tz_feedback")
|
||||
public class Feedback implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 反馈ID
|
||||
*/
|
||||
@TableId
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date createTime;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date updateTime;
|
||||
|
||||
/**
|
||||
* 用户ID
|
||||
*/
|
||||
private String userId;
|
||||
|
||||
/**
|
||||
* 用户昵称
|
||||
*/
|
||||
private String userName;
|
||||
|
||||
/**
|
||||
* 联系方式
|
||||
*/
|
||||
private String contact;
|
||||
|
||||
/**
|
||||
* 反馈类型(1:功能建议 2:体验问题 3:功能异常 4:其他 5:投诉)
|
||||
*/
|
||||
private Integer feedbackType;
|
||||
|
||||
/**
|
||||
* 反馈内容
|
||||
*/
|
||||
private String content;
|
||||
|
||||
/**
|
||||
* 反馈图片(多个用逗号分隔)
|
||||
*/
|
||||
private String images;
|
||||
|
||||
/**
|
||||
* 管理员回复
|
||||
*/
|
||||
private String reply;
|
||||
|
||||
/**
|
||||
* 处理状态:0-未处理 1-处理中 2-已处理
|
||||
*/
|
||||
private Integer status;
|
||||
|
||||
/**
|
||||
* 处理时间
|
||||
*/
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date handleTime;
|
||||
}
|
||||
@@ -0,0 +1,119 @@
|
||||
package com.pxdj.api.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.pxdj.common.json.ImgJsonSerializer;
|
||||
import lombok.Data;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
|
||||
@Data
|
||||
@TableName("tz_footprint")
|
||||
public class Footprint implements Serializable {
|
||||
private static final long serialVersionUID = 9876543210L;
|
||||
|
||||
/**
|
||||
* 足迹ID
|
||||
*/
|
||||
@TableId
|
||||
private Long footprintId;
|
||||
|
||||
/**
|
||||
* 用户ID
|
||||
*/
|
||||
private String userId;
|
||||
|
||||
/**
|
||||
* 商户ID
|
||||
*/
|
||||
private String merchantId;
|
||||
|
||||
private Integer projectId;
|
||||
/**
|
||||
* 浏览时间
|
||||
*/
|
||||
private Date visitTime;
|
||||
|
||||
/**
|
||||
* 商品价格
|
||||
*/
|
||||
private Double price;
|
||||
|
||||
/**
|
||||
* 浏览次数
|
||||
*/
|
||||
private Integer visitCount;
|
||||
|
||||
/**
|
||||
* 浏览类型0商户1:项目
|
||||
*/
|
||||
private Integer type;
|
||||
|
||||
/**
|
||||
* 已服务单数
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
private Integer orderNum;
|
||||
|
||||
/**
|
||||
* 收藏数量
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
private Integer collectNum;
|
||||
|
||||
/**
|
||||
* 评论数量
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
private Integer evaluateNum;
|
||||
|
||||
/**
|
||||
* 项目时长(分钟)
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
private Integer duration;
|
||||
|
||||
/**
|
||||
* 项目详情
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
private String details;
|
||||
/**
|
||||
* 项目详情
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
private String name;
|
||||
/**
|
||||
* 月销量(30天内的成交数量)
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
private Integer monthlySales;
|
||||
|
||||
/**
|
||||
* 评分
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
private Double score;
|
||||
|
||||
/**
|
||||
* 商户距离
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
private String merchantDistance;
|
||||
|
||||
/**
|
||||
* 最近半小时
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
private String nearestHalfHour;
|
||||
|
||||
/**
|
||||
* 商品名称
|
||||
*/
|
||||
@JsonSerialize(using = ImgJsonSerializer.class)
|
||||
@TableField(exist = false)
|
||||
private String pic;
|
||||
}
|
||||
@@ -0,0 +1,64 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @author lanhai
|
||||
*/
|
||||
@Data
|
||||
@TableName("tz_hot_search")
|
||||
public class HotSearch implements Serializable {
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
@TableId
|
||||
private Long hotSearchId;
|
||||
|
||||
/**
|
||||
* 店铺id
|
||||
*/
|
||||
private Long shopId;
|
||||
|
||||
/**
|
||||
* 标题
|
||||
*/
|
||||
private String title;
|
||||
|
||||
/**
|
||||
* 内容
|
||||
*/
|
||||
private String content;
|
||||
|
||||
/**
|
||||
* 录入时间
|
||||
*/
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date recDate;
|
||||
|
||||
/**
|
||||
* 顺序
|
||||
*/
|
||||
private Integer seq;
|
||||
|
||||
/**
|
||||
* 状态 默认是1,0为下线
|
||||
*/
|
||||
private Integer status;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,105 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.pxdj.common.json.ImgJsonSerializer;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @author lanhai
|
||||
*/
|
||||
@Data
|
||||
@TableName("tz_index_img")
|
||||
public class IndexImg implements Serializable {
|
||||
private static final long serialVersionUID = -3468251351681518798L;
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
@TableId
|
||||
|
||||
private Long imgId;
|
||||
|
||||
/**
|
||||
* 店铺ID
|
||||
*/
|
||||
|
||||
private Long shopId;
|
||||
|
||||
/**
|
||||
* 图片
|
||||
*/
|
||||
@JsonSerialize(using = ImgJsonSerializer.class)
|
||||
private String imgUrl;
|
||||
|
||||
/**
|
||||
* 说明文字,描述
|
||||
*/
|
||||
private String des;
|
||||
|
||||
/**
|
||||
* 标题
|
||||
*/
|
||||
private String title;
|
||||
|
||||
/**
|
||||
* 链接
|
||||
*/
|
||||
private String link;
|
||||
|
||||
/**
|
||||
* 状态
|
||||
*/
|
||||
private Integer status;
|
||||
|
||||
/**
|
||||
* 顺序
|
||||
*/
|
||||
private Integer seq;
|
||||
|
||||
/**
|
||||
* 上传时间
|
||||
*/
|
||||
private Date uploadTime;
|
||||
|
||||
/**
|
||||
* 类型
|
||||
*/
|
||||
private int type;
|
||||
|
||||
/**
|
||||
* 关联id
|
||||
*/
|
||||
private Long relation;
|
||||
|
||||
|
||||
private String merchantId;
|
||||
/**
|
||||
* 商品图片
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
@JsonSerialize(using = ImgJsonSerializer.class)
|
||||
private String pic;
|
||||
|
||||
/**
|
||||
* 商品名称
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
private String name;
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
package com.pxdj.api.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @author user
|
||||
* @since 2025-01-07 15:47
|
||||
*/
|
||||
@Data
|
||||
@TableName("tz_invitation")
|
||||
public class Invitation implements Serializable{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 邀请码
|
||||
*/
|
||||
private String invitationCode;
|
||||
|
||||
/**
|
||||
* 邀请人id
|
||||
*/
|
||||
private String invitationUserId;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date createTime;
|
||||
|
||||
/**
|
||||
* 修改时间
|
||||
*/
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date updateTime;
|
||||
|
||||
/**
|
||||
* 过期时间
|
||||
*/
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date expireTime;
|
||||
|
||||
/**
|
||||
* 状态
|
||||
*/
|
||||
@NotBlank(message = "状态不能为空")
|
||||
private Integer status;
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
package com.pxdj.api.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonInclude;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 标签对象 tz_label
|
||||
*
|
||||
* @author ZiJieNbPlus
|
||||
* @date 2025-03-13
|
||||
*/
|
||||
@Data
|
||||
@TableName("tz_label")
|
||||
@ApiModel(value = "标签对象")
|
||||
@JsonInclude(JsonInclude.Include.NON_NULL)
|
||||
public class Label {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* ID
|
||||
*/
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
@ApiModelProperty(value = "ID", position = 0)
|
||||
private Integer id;
|
||||
|
||||
/**
|
||||
* 标签名称
|
||||
*/
|
||||
@ApiModelProperty(value = "标签名称", position = 1)
|
||||
private String name;
|
||||
}
|
||||
@@ -0,0 +1,202 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.domain;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.baomidou.mybatisplus.annotation.Version;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.pxdj.common.json.ImgJsonSerializer;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 商户信息
|
||||
*/
|
||||
@Data
|
||||
@TableName("tz_merchant")
|
||||
public class Merchant implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -4644407386444894349L;
|
||||
|
||||
/**
|
||||
* 服务id
|
||||
*/
|
||||
@TableId
|
||||
private String id;
|
||||
|
||||
/**
|
||||
* 租户id
|
||||
*/
|
||||
private Long shopId;
|
||||
|
||||
/**
|
||||
* 服务名称
|
||||
*/
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 原价
|
||||
*/
|
||||
private Double oriPrice;
|
||||
|
||||
/**
|
||||
* 价格
|
||||
*/
|
||||
private Double price;
|
||||
|
||||
/**
|
||||
* 简要描述,卖点等
|
||||
*/
|
||||
private String brief;
|
||||
|
||||
/**
|
||||
* 可服务城市
|
||||
*/
|
||||
private String city;
|
||||
|
||||
/**
|
||||
* 服务图片,多张图片以逗号分隔
|
||||
*/
|
||||
@JsonSerialize(using = ImgJsonSerializer.class)
|
||||
private String pic;
|
||||
|
||||
/**
|
||||
* 服务图片,多张图片以逗号分隔
|
||||
*/
|
||||
@JsonSerialize(using = ImgJsonSerializer.class)
|
||||
private String images;
|
||||
|
||||
|
||||
/**
|
||||
* 服务图片列表(非数据库字段)
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
private List<String> picList;
|
||||
|
||||
/**
|
||||
* 默认是1,表示正常状态, -1表示删除, 0下架
|
||||
*/
|
||||
private Integer status;
|
||||
|
||||
/**
|
||||
* 服务分类
|
||||
*/
|
||||
private Long categoryId;
|
||||
|
||||
/**
|
||||
* 商户星级评分
|
||||
*/
|
||||
private Double score;
|
||||
|
||||
/**
|
||||
* 用火评价数
|
||||
*/
|
||||
private Integer evaluateNum;
|
||||
|
||||
/**
|
||||
* 用户收藏数
|
||||
*/
|
||||
private Integer collectNum;
|
||||
|
||||
/**
|
||||
* 是否免费出行1:是0否
|
||||
*/
|
||||
private Integer isFreeTravel;
|
||||
|
||||
/**
|
||||
* 已服务单数
|
||||
*/
|
||||
private Integer orderNum;
|
||||
|
||||
/**
|
||||
* 录入时间
|
||||
*/
|
||||
private Date createTime;
|
||||
|
||||
/**
|
||||
* 修改时间
|
||||
*/
|
||||
private Date updateTime;
|
||||
|
||||
/**
|
||||
* 版本
|
||||
*/
|
||||
@Version
|
||||
private Integer version;
|
||||
|
||||
/**
|
||||
* 展示权重
|
||||
*/
|
||||
private Integer top;
|
||||
|
||||
/**
|
||||
* 展示权重
|
||||
*/
|
||||
private Long teamId;
|
||||
|
||||
/**
|
||||
* 与用户的距离
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
private String distance;
|
||||
|
||||
/**
|
||||
* 商户地址信息
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
private MerchantAddr merchantAddr;
|
||||
|
||||
private Integer team_id;
|
||||
|
||||
/**
|
||||
* 商户关联的项目列表
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
private List<Project> projects;
|
||||
|
||||
/**
|
||||
* 商户关联的标签列表
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
private List<Label> labels;
|
||||
|
||||
|
||||
/**
|
||||
* 用户
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
private User user;
|
||||
|
||||
/**
|
||||
* 最近可预约时间
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
private String nearestHalfHour;
|
||||
|
||||
/**
|
||||
* 轮播图
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
@JsonSerialize(using = ImgJsonSerializer.class)
|
||||
private String allPic;
|
||||
|
||||
public String getAllPic() {
|
||||
return this.pic + "," + this.images;
|
||||
}
|
||||
|
||||
public void setAllPic(String allPic) {
|
||||
this.allPic = this.pic + "," + this.images;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,118 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.baomidou.mybatisplus.annotation.Version;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 商户地址信息
|
||||
*/
|
||||
@Data
|
||||
@TableName("tz_merchant_addr")
|
||||
public class MerchantAddr implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 地址订单id
|
||||
*/
|
||||
@TableId
|
||||
private Long addrOrderId;
|
||||
|
||||
/**
|
||||
* 地址ID
|
||||
*/
|
||||
private Long addrId;
|
||||
|
||||
/**
|
||||
* 商户ID
|
||||
*/
|
||||
private String merchantId;
|
||||
|
||||
/**
|
||||
* 商户名称
|
||||
*/
|
||||
private String merchantName;
|
||||
|
||||
/**
|
||||
* 省ID
|
||||
*/
|
||||
private Long provinceId;
|
||||
|
||||
/**
|
||||
* 省
|
||||
*/
|
||||
private String province;
|
||||
|
||||
/**
|
||||
* 区域ID
|
||||
*/
|
||||
private Long areaId;
|
||||
|
||||
/**
|
||||
* 区
|
||||
*/
|
||||
private String area;
|
||||
|
||||
/**
|
||||
* 城市ID
|
||||
*/
|
||||
private Long cityId;
|
||||
|
||||
/**
|
||||
* 城市
|
||||
*/
|
||||
private String city;
|
||||
|
||||
/**
|
||||
* 地址
|
||||
*/
|
||||
private String addr;
|
||||
|
||||
/**
|
||||
* 邮编
|
||||
*/
|
||||
private String postCode;
|
||||
|
||||
/**
|
||||
* 手机
|
||||
*/
|
||||
private String mobile;
|
||||
|
||||
|
||||
/**
|
||||
* 经度
|
||||
*/
|
||||
private String lat;
|
||||
|
||||
/**
|
||||
* 维度
|
||||
*/
|
||||
private String lon;
|
||||
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private Date createTime;
|
||||
|
||||
/**
|
||||
* 版本号
|
||||
*/
|
||||
@Version
|
||||
private Integer version;
|
||||
}
|
||||
@@ -0,0 +1,101 @@
|
||||
package com.pxdj.api.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.pxdj.common.json.ImgJsonSerializer;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 商户入驻申请
|
||||
*/
|
||||
@Data
|
||||
@TableName("tz_merchant_apply")
|
||||
public class MerchantApply implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 主键id
|
||||
*/
|
||||
@TableId
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 商户身份类型(1:个人 2:企业)
|
||||
*/
|
||||
private Integer type;
|
||||
|
||||
/**
|
||||
* 姓名
|
||||
*/
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 手机号
|
||||
*/
|
||||
private String mobile;
|
||||
|
||||
/**
|
||||
* 所在城市
|
||||
*/
|
||||
private String city;
|
||||
|
||||
/**
|
||||
* 性别(1:男 2:女)
|
||||
*/
|
||||
private Integer gender;
|
||||
|
||||
/**
|
||||
* 年龄
|
||||
*/
|
||||
private Integer age;
|
||||
|
||||
/**
|
||||
* 意向合作城市
|
||||
*/
|
||||
private String targetCity;
|
||||
|
||||
/**
|
||||
* 本人近期照片
|
||||
*/
|
||||
@JsonSerialize(using = ImgJsonSerializer.class)
|
||||
private String photo;
|
||||
|
||||
/**
|
||||
* 资质照片
|
||||
*/
|
||||
@JsonSerialize(using = ImgJsonSerializer.class)
|
||||
private String aptitudePic;
|
||||
|
||||
/**
|
||||
* 审核状态(1:审核中 2:通过 3:拒绝)
|
||||
*/
|
||||
@TableField(value = "status")
|
||||
private Integer status;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private Date createTime;
|
||||
|
||||
/**
|
||||
* 团队ID
|
||||
*/
|
||||
private Long teamId;
|
||||
|
||||
/**
|
||||
* 团队名称
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
private String deptName;
|
||||
|
||||
/**
|
||||
* 用户ID
|
||||
*/
|
||||
private String userId;
|
||||
}
|
||||
@@ -0,0 +1,134 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.pxdj.api.vo.UserVO;
|
||||
import com.pxdj.common.json.ImgJsonSerializer;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 商品评论
|
||||
*
|
||||
* @author xwc
|
||||
* @date 2019-04-19 10:43:57
|
||||
*/
|
||||
@Data
|
||||
@TableName("tz_merchant_comm")
|
||||
@EqualsAndHashCode
|
||||
public class MerchantComm implements Serializable{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* ID
|
||||
*/
|
||||
@TableId
|
||||
private Long id;
|
||||
/**
|
||||
* 服务ID
|
||||
*/
|
||||
private String merchantId;
|
||||
/**
|
||||
* 订购流水号
|
||||
*/
|
||||
private String orderNumber;
|
||||
/**
|
||||
* 评论用户ID
|
||||
*/
|
||||
private String userId;
|
||||
/**
|
||||
* 评论内容
|
||||
*/
|
||||
private String content;
|
||||
/**
|
||||
* 掌柜回复
|
||||
*/
|
||||
private String replyContent;
|
||||
/**
|
||||
* 记录时间
|
||||
*/
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date recTime;
|
||||
/**
|
||||
* 回复时间
|
||||
*/
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date replyTime;
|
||||
/**
|
||||
* 是否回复 0:未回复 1:已回复
|
||||
*/
|
||||
private Integer replySts;
|
||||
/**
|
||||
* IP来源
|
||||
*/
|
||||
private String postip;
|
||||
/**
|
||||
* 得分,0-5分
|
||||
*/
|
||||
private Integer score;
|
||||
/**
|
||||
* 有用的计数
|
||||
*/
|
||||
private Integer usefulCounts;
|
||||
/**
|
||||
* 晒图的字符串 以逗号分隔
|
||||
*/
|
||||
@JsonSerialize(using = ImgJsonSerializer.class)
|
||||
private String pics;
|
||||
/**
|
||||
* 是否匿名(1:是 0:否)
|
||||
*/
|
||||
private Integer isAnonymous;
|
||||
/**
|
||||
* 是否显示,1:为显示,0:待审核, -1:不通过审核,不显示。 如果需要审核评论,则是0,,否则1
|
||||
*/
|
||||
private Integer status;
|
||||
|
||||
/**
|
||||
* 评价(0好评 1中评 2差评)
|
||||
*/
|
||||
private Integer evaluate;
|
||||
|
||||
/**
|
||||
* 关联用户
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
private UserVO user;
|
||||
|
||||
/**
|
||||
* 商品名称
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
private String name;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String nickName;
|
||||
|
||||
/**
|
||||
* 头像图片路径
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
@JsonSerialize(using = ImgJsonSerializer.class)
|
||||
private String pic;
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,110 @@
|
||||
package com.pxdj.api.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.pxdj.common.annotation.Excel;
|
||||
import com.pxdj.common.core.domain.BaseEntity;
|
||||
import com.fasterxml.jackson.annotation.JsonInclude;
|
||||
import com.pxdj.common.json.ImgJsonSerializer;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 商户激活审核对象 tz_merchant_examine
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-04-15
|
||||
*/
|
||||
@Data
|
||||
@TableName("tz_merchant_examine")
|
||||
@ApiModel(value = "商户激活审核对象")
|
||||
@JsonInclude(JsonInclude.Include.NON_NULL)
|
||||
public class MerchantExamine{
|
||||
private static final long serialVersionUID=1L;
|
||||
|
||||
/**
|
||||
* ID
|
||||
*/
|
||||
@TableId
|
||||
@ApiModelProperty(value = "ID", position = 0)
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 姓名
|
||||
*/
|
||||
@Excel(name = "姓名")
|
||||
@ApiModelProperty(value = "姓名", position = 1)
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 手机号
|
||||
*/
|
||||
@Excel(name = "手机号")
|
||||
@ApiModelProperty(value = "手机号", position = 2)
|
||||
private String mobile;
|
||||
|
||||
/**
|
||||
* 商户服务地址
|
||||
*/
|
||||
@Excel(name = "商户服务地址")
|
||||
@ApiModelProperty(value = "商户服务地址", position = 3)
|
||||
private String address;
|
||||
|
||||
/**
|
||||
* 年龄
|
||||
*/
|
||||
@Excel(name = "年龄")
|
||||
@ApiModelProperty(value = "年龄", position = 4)
|
||||
private Integer age;
|
||||
|
||||
/**
|
||||
* 简介
|
||||
*/
|
||||
@Excel(name = "简介")
|
||||
@ApiModelProperty(value = "简介", position = 5)
|
||||
private String brief;
|
||||
|
||||
/**
|
||||
* 相册
|
||||
*/
|
||||
@Excel(name = "相册")
|
||||
@ApiModelProperty(value = "相册", position = 6)
|
||||
@JsonSerialize(using = ImgJsonSerializer.class)
|
||||
private String images;
|
||||
|
||||
/**
|
||||
* 头像
|
||||
*/
|
||||
@Excel(name = "头像")
|
||||
@ApiModelProperty(value = "头像", position = 7)
|
||||
@JsonSerialize(using = ImgJsonSerializer.class)
|
||||
private String pic;
|
||||
|
||||
/**
|
||||
* 审核状态(1:审核中 2:通过 3:拒绝)
|
||||
*/
|
||||
@Excel(name = "审核状态", readConverterExp = "1=:审核中,2=:通过,3=:拒绝")
|
||||
@ApiModelProperty(value = "审核状态(1:审核中 2:通过 3:拒绝)", position = 8)
|
||||
private Integer status;
|
||||
|
||||
/**
|
||||
* 用户id
|
||||
*/
|
||||
@Excel(name = "用户id")
|
||||
@ApiModelProperty(value = "用户id", position = 10)
|
||||
private String userId;
|
||||
|
||||
/**
|
||||
* M(男) or F(女)
|
||||
*/
|
||||
@Excel(name = "M(男) or F(女)")
|
||||
@ApiModelProperty(value = "M(男) or F(女)", position = 11)
|
||||
private String sex;
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date createTime;
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
package com.pxdj.api.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.annotation.JsonInclude;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 商户标签管理对象 tz_merchant_label
|
||||
*
|
||||
* @author ZiJieNbPlus
|
||||
* @date 2025-03-13
|
||||
*/
|
||||
@Data
|
||||
@TableName("tz_merchant_label")
|
||||
@ApiModel(value = "商户标签管理对象")
|
||||
@JsonInclude(JsonInclude.Include.NON_NULL)
|
||||
public class MerchantLabel {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* ID
|
||||
*/
|
||||
@TableId
|
||||
@ApiModelProperty(value = "ID", position = 0)
|
||||
private Integer id;
|
||||
|
||||
/**
|
||||
* 商户id
|
||||
*/
|
||||
@ApiModelProperty(value = "商户id", position = 1)
|
||||
private String merchantId;
|
||||
|
||||
/**
|
||||
* 标签id
|
||||
*/
|
||||
@ApiModelProperty(value = "标签id", position = 2)
|
||||
private Integer labelId;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@ApiModelProperty(value = "创建时间", position = 3)
|
||||
private Date createTime;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@ApiModelProperty(value = "更新时间", position = 4)
|
||||
private Date updateTime;
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
package com.pxdj.api.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonInclude;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 商户项目管理对象 tz_merchant_project
|
||||
*
|
||||
* @author ZiJieNbPlus
|
||||
* @date 2025-03-12
|
||||
*/
|
||||
@Data
|
||||
@TableName("tz_merchant_project")
|
||||
@ApiModel(value = "商户项目管理对象")
|
||||
@JsonInclude(JsonInclude.Include.NON_NULL)
|
||||
public class MerchantProject {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* ID 删除用的
|
||||
*/
|
||||
|
||||
@ApiModelProperty(value = "ID", position = 0)
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 商户id
|
||||
*/
|
||||
@ApiModelProperty(value = "商户id", position = 1)
|
||||
private String merchantId;
|
||||
|
||||
/**
|
||||
* 分组id
|
||||
*/
|
||||
@ApiModelProperty(value = "分组id", position = 2)
|
||||
private Long projectId;
|
||||
}
|
||||
@@ -0,0 +1,78 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @author lanhai
|
||||
*/
|
||||
@Data
|
||||
@TableName("tz_message")
|
||||
public class Message implements Serializable {
|
||||
|
||||
@TableId
|
||||
private Long id;
|
||||
/**
|
||||
* 姓名
|
||||
*/
|
||||
private String fromUser;
|
||||
|
||||
/**
|
||||
* 邮箱
|
||||
*/
|
||||
private String toUser;
|
||||
|
||||
/**
|
||||
* 标题
|
||||
*/
|
||||
private String title;
|
||||
|
||||
/**
|
||||
* 内容
|
||||
*/
|
||||
private String content;
|
||||
|
||||
/**
|
||||
* 业务id
|
||||
*/
|
||||
private String bizId;
|
||||
/**
|
||||
* 业务类型(MsgTypeEnum) 0订单服务',
|
||||
*/
|
||||
private Integer bizType;
|
||||
/**
|
||||
* 重试次数
|
||||
*/
|
||||
private Integer retryCount;
|
||||
|
||||
/**
|
||||
* '是否已读0未读1已读',
|
||||
*/
|
||||
private Integer isRead;
|
||||
|
||||
/**
|
||||
* 状态:0:未审核 1审核通过
|
||||
*/
|
||||
private Integer status;
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
||||
private Date createTime;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 公告管理
|
||||
*
|
||||
* @author hzm
|
||||
* @date 2019-04-18 21:21:40
|
||||
*/
|
||||
@Data
|
||||
@TableName("tz_notice")
|
||||
public class Notice implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 公告id
|
||||
*/
|
||||
@TableId
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 店铺id
|
||||
*/
|
||||
private Long shopId;
|
||||
|
||||
/**
|
||||
* 公告标题
|
||||
*/
|
||||
private String title;
|
||||
|
||||
/**
|
||||
* 公告内容
|
||||
*/
|
||||
private String content;
|
||||
|
||||
/**
|
||||
* 状态(1:公布 0:撤回)
|
||||
*/
|
||||
private Integer status;
|
||||
|
||||
/**
|
||||
* 是否置顶(1:是 0:否)
|
||||
*/
|
||||
private Integer isTop;
|
||||
|
||||
/**
|
||||
* 发布时间
|
||||
*/
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date publishTime;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date updateTime;
|
||||
|
||||
}
|
||||
283
pxdj-java/pxdj-bean/src/main/java/com/pxdj/api/domain/Order.java
Normal file
283
pxdj-java/pxdj-bean/src/main/java/com/pxdj/api/domain/Order.java
Normal file
@@ -0,0 +1,283 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.pxdj.api.dto.MerchantInfoDto;
|
||||
import lombok.Data;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author lanhai
|
||||
*/
|
||||
@Data
|
||||
@TableName("tz_order")
|
||||
public class Order implements Serializable {
|
||||
private static final long serialVersionUID = 6222259729062826852L;
|
||||
/**
|
||||
* 订单ID
|
||||
*/
|
||||
@TableId
|
||||
private Long orderId;
|
||||
|
||||
/**
|
||||
* 店铺id
|
||||
*/
|
||||
private Long shopId;
|
||||
|
||||
/**
|
||||
* 商户id
|
||||
*/
|
||||
private String merchantId;
|
||||
|
||||
/**
|
||||
* 产品名称,多个产品将会以逗号隔开
|
||||
*/
|
||||
private String prodName;
|
||||
|
||||
/**
|
||||
* 订购用户ID
|
||||
*/
|
||||
private String userId;
|
||||
/* *//**
|
||||
* 是否已经支付,1:已经支付过,0:,没有支付过
|
||||
*//*
|
||||
private Integer isPayed;*/
|
||||
/**
|
||||
* 订购流水号
|
||||
*/
|
||||
private String orderNumber;
|
||||
/* *//**
|
||||
* 支付单号
|
||||
*//*
|
||||
private String payOrder;*/
|
||||
|
||||
/**
|
||||
* 总值
|
||||
*/
|
||||
private Double total;
|
||||
|
||||
/**
|
||||
* 实际总值
|
||||
*/
|
||||
private Double actualTotal;
|
||||
|
||||
/**
|
||||
* 支付方式 1 微信支付 2 支付宝
|
||||
*/
|
||||
private Integer payType;
|
||||
|
||||
/**
|
||||
* 订单备注
|
||||
*/
|
||||
private String remarks;
|
||||
|
||||
/**
|
||||
* '订单状态 1:待付款 2:待服务3已接单 4:已出发 5:已到达6:服务中 7:已完成8:取消订单',
|
||||
*/
|
||||
private Integer status;
|
||||
|
||||
/**
|
||||
* 配送类型
|
||||
*/
|
||||
|
||||
private String dvyType;
|
||||
|
||||
|
||||
/**
|
||||
* 项目id
|
||||
*/
|
||||
private Integer projectId;
|
||||
/**
|
||||
* 订单运费
|
||||
*/
|
||||
|
||||
private Double freightAmount;
|
||||
|
||||
/**
|
||||
* 用户订单地址Id
|
||||
*/
|
||||
|
||||
private Long addrOrderId;
|
||||
|
||||
/**
|
||||
* 订单商品总数
|
||||
*/
|
||||
|
||||
private Integer productNums;
|
||||
|
||||
/**
|
||||
* 0自主注册 1:推荐普通用户2优质用户
|
||||
*/
|
||||
private Integer niceType;
|
||||
|
||||
/**
|
||||
* 套餐id
|
||||
*/
|
||||
|
||||
private Integer packageId;
|
||||
|
||||
|
||||
/**
|
||||
* 第三方交易单号
|
||||
*/
|
||||
private String thirdTradeNo;
|
||||
|
||||
/**
|
||||
* 订购时间
|
||||
*/
|
||||
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date createTime;
|
||||
|
||||
/**
|
||||
* 订单更新时间
|
||||
*/
|
||||
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date updateTime;
|
||||
|
||||
/**
|
||||
* 付款时间
|
||||
*/
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date payTime;
|
||||
|
||||
/**
|
||||
* 项目预定时间
|
||||
*/
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date reserveTime;
|
||||
|
||||
/**
|
||||
* 商户到达时间
|
||||
*/
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date reachTime;
|
||||
|
||||
/**
|
||||
* 商户开始服务时间
|
||||
*/
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date serviceTime;
|
||||
|
||||
/**
|
||||
* 商户接单时间
|
||||
*/
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date receivingTime;
|
||||
|
||||
/**
|
||||
* 出发时间
|
||||
*/
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date setoutTime;
|
||||
|
||||
/**
|
||||
* 完成时间
|
||||
*/
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date finallyTime;
|
||||
|
||||
/**
|
||||
* 服务完成时间
|
||||
*/
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date completeTime;
|
||||
|
||||
/**
|
||||
* 取消时间
|
||||
*/
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date cancelTime;
|
||||
|
||||
/**
|
||||
* 用户订单删除状态,0:没有删除, 1:回收站, 2:永久删除
|
||||
*/
|
||||
private Integer deleteStatus;
|
||||
|
||||
/**
|
||||
* 0:默认,1:在处理,2:处理完成
|
||||
*/
|
||||
private Integer refundSts;
|
||||
|
||||
|
||||
/**
|
||||
* 是否是空闲订单0否1是(空闲订单商户可以抢单)
|
||||
*/
|
||||
private Integer isIdle;
|
||||
|
||||
|
||||
/**
|
||||
* 优惠总额
|
||||
*/
|
||||
private Double reduceAmount;
|
||||
/**
|
||||
* 订单类型
|
||||
*/
|
||||
private Integer orderType;
|
||||
|
||||
/**
|
||||
* 花费商品积分总数
|
||||
*/
|
||||
private Double pointsTotal;
|
||||
|
||||
/**
|
||||
* 是否已经评价0未评价1已评价
|
||||
*/
|
||||
private Integer isEvaluate;
|
||||
|
||||
/**
|
||||
* 是否转移0否1是
|
||||
*/
|
||||
private Integer isTransfer;
|
||||
|
||||
|
||||
|
||||
@TableField(exist = false)
|
||||
private List<OrderItem> orderItems;
|
||||
|
||||
/**
|
||||
* 用户订单地址
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
private UserAddrOrder userAddrOrder;
|
||||
|
||||
/**
|
||||
* 订单项目
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
private Project project;
|
||||
|
||||
/**
|
||||
* 用户信息
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
private User user;
|
||||
|
||||
/**
|
||||
* 服务商信息
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
private MerchantInfoDto merchant;
|
||||
|
||||
/**
|
||||
* 完整地址信息
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
private String fullAddress;
|
||||
}
|
||||
@@ -0,0 +1,131 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @author lanhai
|
||||
*/
|
||||
@Data
|
||||
@TableName("tz_order_item")
|
||||
public class OrderItem implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 7307405761190788407L;
|
||||
/**
|
||||
* 订单项ID
|
||||
*/
|
||||
@TableId(type = IdType.AUTO)
|
||||
private Long orderItemId;
|
||||
|
||||
|
||||
private Long shopId;
|
||||
|
||||
/**
|
||||
* 订单sub_number
|
||||
*/
|
||||
|
||||
private String orderNumber;
|
||||
|
||||
/**
|
||||
* 产品ID
|
||||
*/
|
||||
|
||||
private Long prodId;
|
||||
|
||||
/**
|
||||
* 产品SkuID
|
||||
*/
|
||||
|
||||
private Long skuId;
|
||||
|
||||
/**
|
||||
* 购物车产品个数
|
||||
*/
|
||||
|
||||
private Integer prodCount;
|
||||
|
||||
/**
|
||||
* 产品名称
|
||||
*/
|
||||
|
||||
private String prodName;
|
||||
|
||||
/**
|
||||
* sku名称
|
||||
*/
|
||||
private String skuName;
|
||||
|
||||
/**
|
||||
* 产品主图片路径
|
||||
*/
|
||||
private String pic;
|
||||
|
||||
/**
|
||||
* 产品价格
|
||||
*/
|
||||
private Double price;
|
||||
|
||||
/**
|
||||
* 用户Id
|
||||
*/
|
||||
|
||||
private String userId;
|
||||
|
||||
/**
|
||||
* 商品总金额
|
||||
*/
|
||||
private Double productTotalAmount;
|
||||
|
||||
/**
|
||||
* 购物时间
|
||||
*/
|
||||
|
||||
private Date recTime;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private Date createTime;
|
||||
|
||||
/**
|
||||
* 评论状态: 0 未评价 1 已评价
|
||||
*/
|
||||
|
||||
private Integer commSts;
|
||||
|
||||
/**
|
||||
* 推广员使用的推销卡号
|
||||
*/
|
||||
private String distributionCardNo;
|
||||
|
||||
/**
|
||||
* 加入购物车的时间
|
||||
*/
|
||||
private Date basketDate;
|
||||
|
||||
/**
|
||||
* 折后价格
|
||||
*/
|
||||
private Double discountedPrice;
|
||||
|
||||
/**
|
||||
* 商品积分值
|
||||
*/
|
||||
private Double points;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,166 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.domain;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @author lanhai
|
||||
*/
|
||||
@Data
|
||||
@TableName("tz_order_refund")
|
||||
public class OrderRefund implements Serializable {
|
||||
/**
|
||||
* 记录ID
|
||||
*/
|
||||
@TableId
|
||||
private Long refundId;
|
||||
|
||||
/**
|
||||
* shopId
|
||||
*/
|
||||
private Long shopId;
|
||||
|
||||
/**
|
||||
* 订单流水号
|
||||
*/
|
||||
|
||||
private String orderNumber;
|
||||
|
||||
/**
|
||||
* 订单总金额
|
||||
*/
|
||||
|
||||
private Double orderAmount;
|
||||
|
||||
|
||||
/**
|
||||
* 退款编号
|
||||
*/
|
||||
|
||||
private String refundSn;
|
||||
|
||||
/**
|
||||
* 订单支付流水号
|
||||
*/
|
||||
|
||||
private String flowTradeNo;
|
||||
|
||||
/**
|
||||
* 第三方退款单号(微信退款单号)
|
||||
*/
|
||||
|
||||
private String outRefundNo;
|
||||
|
||||
/**
|
||||
* 订单支付方式 1 微信支付 2 支付宝
|
||||
*/
|
||||
|
||||
private Integer payType;
|
||||
|
||||
/**
|
||||
* 订单支付名称
|
||||
*/
|
||||
|
||||
private String payTypeName;
|
||||
|
||||
/**
|
||||
* 买家ID
|
||||
*/
|
||||
|
||||
private String userId;
|
||||
|
||||
/**
|
||||
* 退货数量
|
||||
*/
|
||||
|
||||
private Integer goodsNum;
|
||||
|
||||
/**
|
||||
* 退款金额
|
||||
*/
|
||||
|
||||
private Double refundAmount;
|
||||
|
||||
/**
|
||||
* 退款积分
|
||||
*/
|
||||
private Double refundPoints;
|
||||
|
||||
/**
|
||||
* 申请类型:1,仅退款,2退款退货
|
||||
*/
|
||||
|
||||
private Integer applyType;
|
||||
|
||||
/**
|
||||
* 处理状态:1为待审核,2为同意,3为不同意
|
||||
*/
|
||||
|
||||
private Integer refundSts;
|
||||
|
||||
/**
|
||||
* 处理退款状态: 0:退款处理中 1:退款成功 -1:退款失败
|
||||
*/
|
||||
|
||||
private Integer returnMoneySts;
|
||||
|
||||
/**
|
||||
* 申请时间
|
||||
*/
|
||||
|
||||
private Date applyTime;
|
||||
|
||||
/**
|
||||
* 卖家处理时间
|
||||
*/
|
||||
|
||||
private Date handelTime;
|
||||
|
||||
/**
|
||||
* 退款时间
|
||||
*/
|
||||
|
||||
private Date refundTime;
|
||||
|
||||
/**
|
||||
* 文件凭证json
|
||||
*/
|
||||
|
||||
private String photoFiles;
|
||||
|
||||
/**
|
||||
* 申请原因
|
||||
*/
|
||||
|
||||
private String buyerMsg;
|
||||
|
||||
/**
|
||||
* 卖家备注
|
||||
*/
|
||||
|
||||
private String sellerMsg;
|
||||
|
||||
|
||||
/**
|
||||
* 取消原因备注
|
||||
*/
|
||||
|
||||
private String remarks;
|
||||
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,100 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @author lanhai
|
||||
*/
|
||||
@Data
|
||||
@TableName("tz_order_settlement")
|
||||
public class OrderSettlement implements Serializable {
|
||||
/**
|
||||
* 支付结算单据ID
|
||||
*/
|
||||
@TableId
|
||||
|
||||
private Long settlementId;
|
||||
|
||||
|
||||
/**
|
||||
* 外部订单流水号
|
||||
*/
|
||||
private String bizPayNo;
|
||||
|
||||
/**
|
||||
* 订单号
|
||||
*/
|
||||
private String orderNumber;
|
||||
|
||||
/**
|
||||
* 支付方式 0 手动代付 1 微信支付 2 支付宝
|
||||
*/
|
||||
|
||||
private Integer payType;
|
||||
|
||||
/**
|
||||
* 支付金额
|
||||
*/
|
||||
private Double payAmount;
|
||||
|
||||
/**
|
||||
* 积分金额
|
||||
*/
|
||||
private Double pointsTotal;
|
||||
|
||||
/**
|
||||
* 用户ID
|
||||
*/
|
||||
|
||||
private String userId;
|
||||
|
||||
/**
|
||||
* 是否清算 0:否 1:是
|
||||
*/
|
||||
|
||||
private Integer isClearing;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
|
||||
private Date createTime;
|
||||
|
||||
/**
|
||||
* 清算时间
|
||||
*/
|
||||
|
||||
private Date clearingTime;
|
||||
|
||||
/**
|
||||
* 支付状态
|
||||
*/
|
||||
private Integer payStatus;
|
||||
|
||||
/**
|
||||
* 版本号
|
||||
*/
|
||||
private Integer version;
|
||||
|
||||
/**
|
||||
* 0会员充值1:下单充值
|
||||
*/
|
||||
private Integer type;
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,81 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author lanhai
|
||||
*/
|
||||
@Data
|
||||
@TableName("tz_pick_addr")
|
||||
public class PickAddr implements Serializable {
|
||||
/**
|
||||
* ID
|
||||
*/
|
||||
@TableId
|
||||
private Long addrId;
|
||||
|
||||
/**
|
||||
* 自提点名称
|
||||
*/
|
||||
|
||||
private String addrName;
|
||||
|
||||
/**
|
||||
* 地址
|
||||
*/
|
||||
private String addr;
|
||||
|
||||
/**
|
||||
* 手机
|
||||
*/
|
||||
private String mobile;
|
||||
|
||||
/**
|
||||
* 省份ID
|
||||
*/
|
||||
private Long provinceId;
|
||||
|
||||
/**
|
||||
* 省份
|
||||
*/
|
||||
private String province;
|
||||
|
||||
/**
|
||||
* 城市ID
|
||||
*/
|
||||
private Long cityId;
|
||||
|
||||
/**
|
||||
* 城市
|
||||
*/
|
||||
private String city;
|
||||
|
||||
/**
|
||||
* 区/县ID
|
||||
*/
|
||||
private Long areaId;
|
||||
|
||||
/**
|
||||
* 区
|
||||
*/
|
||||
private String area;
|
||||
|
||||
/**
|
||||
* 店铺id
|
||||
*/
|
||||
private Long shopId;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author lanhai
|
||||
*/
|
||||
@Data
|
||||
@TableName("tz_prod_img")
|
||||
public class ProdImg implements Serializable {
|
||||
/**
|
||||
* 图片ID
|
||||
*/
|
||||
@TableId
|
||||
|
||||
private Long imgId;
|
||||
|
||||
/**
|
||||
* 产品ID
|
||||
*/
|
||||
|
||||
private Long prodId;
|
||||
|
||||
/**
|
||||
* skuID(商品通用图片 skuid为0)
|
||||
*/
|
||||
|
||||
private Long skuId;
|
||||
|
||||
/**
|
||||
* 文件路径
|
||||
*/
|
||||
|
||||
private String imgPath;
|
||||
|
||||
/**
|
||||
* 状态
|
||||
*/
|
||||
private Byte status;
|
||||
|
||||
/**
|
||||
* 顺序
|
||||
*/
|
||||
private Integer seq;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.NotEmpty;
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author lanhai
|
||||
*/
|
||||
@Data
|
||||
@TableName("tz_prod_prop")
|
||||
public class ProdProp implements Serializable {
|
||||
private static final long serialVersionUID = -8761177918672000191L;
|
||||
|
||||
/**
|
||||
* 属性id
|
||||
*/
|
||||
@TableId
|
||||
private Long propId;
|
||||
|
||||
/**
|
||||
* 属性名称
|
||||
*/
|
||||
@NotBlank(message = "属性名称不能为空")
|
||||
private String propName;
|
||||
|
||||
/**
|
||||
* 1:销售属性(规格); 2:参数属性;
|
||||
*/
|
||||
private Integer rule;
|
||||
|
||||
private Long shopId;
|
||||
|
||||
/**
|
||||
* 属性值
|
||||
*/
|
||||
@TableField(exist=false)
|
||||
@NotEmpty(message="规格属性值不能为空")
|
||||
private List<ProdPropValue> prodPropValues;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author lanhai
|
||||
*/
|
||||
@Data
|
||||
@TableName("tz_prod_prop_value")
|
||||
public class ProdPropValue implements Serializable{
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 6604406039354172708L;
|
||||
|
||||
/**
|
||||
* 属性值ID
|
||||
*/
|
||||
@TableId
|
||||
|
||||
private Long valueId;
|
||||
|
||||
/**
|
||||
* 属性值名称
|
||||
*/
|
||||
|
||||
private String propValue;
|
||||
|
||||
/**
|
||||
* 属性ID
|
||||
*/
|
||||
|
||||
private Long propId;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,77 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 商品分组标签
|
||||
*
|
||||
* @author hzm
|
||||
* @date 2019-04-18 10:48:44
|
||||
*/
|
||||
@Data
|
||||
@TableName("tz_prod_tag")
|
||||
public class ProdTag implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1991508792679311621L;
|
||||
/**
|
||||
* 分组标签id
|
||||
*/
|
||||
@TableId
|
||||
private Long id;
|
||||
/**
|
||||
* 分组标题
|
||||
*/
|
||||
private String title;
|
||||
/**
|
||||
* 店铺Id
|
||||
*/
|
||||
private Long shopId;
|
||||
/**
|
||||
* 状态(1为正常,0为删除)
|
||||
*/
|
||||
private Integer status;
|
||||
/**
|
||||
* 默认类型(0:商家自定义,1:系统默认类型)
|
||||
*/
|
||||
private Integer isDefault;
|
||||
/**
|
||||
* 商品数量
|
||||
*/
|
||||
private Long prodCount;
|
||||
/**
|
||||
* 排序
|
||||
*/
|
||||
private Integer seq;
|
||||
/**
|
||||
* 列表样式(0:一列一个,1:一列两个,2:一列三个)
|
||||
*/
|
||||
private Integer style;
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private Date createTime;
|
||||
/**
|
||||
* 修改时间
|
||||
*/
|
||||
private Date updateTime;
|
||||
/**
|
||||
* 删除时间
|
||||
*/
|
||||
private Date deleteTime;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 分组标签引用
|
||||
*
|
||||
* @author hzm
|
||||
* @date 2019-04-18 16:28:01
|
||||
*/
|
||||
@Data
|
||||
@TableName("tz_prod_tag_reference")
|
||||
public class ProdTagReference implements Serializable{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 分组引用id
|
||||
*/
|
||||
@TableId
|
||||
private Long referenceId;
|
||||
/**
|
||||
* 店铺id
|
||||
*/
|
||||
private Long shopId;
|
||||
/**
|
||||
* 标签id
|
||||
*/
|
||||
private Long tagId;
|
||||
/**
|
||||
* 商品id
|
||||
*/
|
||||
private Long prodId;
|
||||
/**
|
||||
* 状态(1:正常,0:删除)
|
||||
*/
|
||||
private Integer status;
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private Date createTime;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,184 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.baomidou.mybatisplus.annotation.Version;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.pxdj.common.json.ImgJsonSerializer;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author lanhai
|
||||
*/
|
||||
@Data
|
||||
@TableName("tz_prod")
|
||||
public class Product implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -4644407386444894349L;
|
||||
/**
|
||||
* 商品ID
|
||||
*/
|
||||
@TableId
|
||||
private Long prodId;
|
||||
|
||||
/**
|
||||
* 店铺id
|
||||
*/
|
||||
private Long shopId;
|
||||
|
||||
/**
|
||||
* 商品名称
|
||||
*/
|
||||
private String prodName;
|
||||
|
||||
/**
|
||||
* 原价
|
||||
*/
|
||||
private Double oriPrice;
|
||||
|
||||
/**
|
||||
* 现价
|
||||
*/
|
||||
private Double price;
|
||||
|
||||
/**
|
||||
* 简要描述,卖点等
|
||||
*/
|
||||
private String brief;
|
||||
|
||||
/**
|
||||
* 商品主图
|
||||
*/
|
||||
@JsonSerialize(using = ImgJsonSerializer.class)
|
||||
private String pic;
|
||||
|
||||
/**
|
||||
* 商品图片
|
||||
*/
|
||||
private String imgs;
|
||||
|
||||
/**
|
||||
* 默认是1,表示正常状态, -1表示删除, 0下架
|
||||
*/
|
||||
private Integer status;
|
||||
|
||||
/**
|
||||
* 商品分类
|
||||
*/
|
||||
private Long categoryId;
|
||||
|
||||
/**
|
||||
* 已经销售数量
|
||||
*/
|
||||
private Integer soldNum;
|
||||
|
||||
/**
|
||||
* 库存量
|
||||
*/
|
||||
private Integer totalStocks;
|
||||
|
||||
/**
|
||||
* 配送方式json
|
||||
*/
|
||||
private String deliveryMode;
|
||||
|
||||
/**
|
||||
* 运费模板id
|
||||
*/
|
||||
private Long deliveryTemplateId;
|
||||
|
||||
/**
|
||||
* 录入时间
|
||||
*/
|
||||
private Date createTime;
|
||||
|
||||
/**
|
||||
* 修改时间
|
||||
*/
|
||||
private Date updateTime;
|
||||
|
||||
/**
|
||||
* 详细描述
|
||||
*/
|
||||
private String content;
|
||||
|
||||
|
||||
/**
|
||||
* 上架时间
|
||||
*/
|
||||
private Date putawayTime;
|
||||
|
||||
/**
|
||||
* 版本
|
||||
*/
|
||||
@Version
|
||||
private Integer version;
|
||||
|
||||
/**
|
||||
* 展示权重
|
||||
*/
|
||||
private Integer top;
|
||||
|
||||
/**
|
||||
* 商品积分
|
||||
*/
|
||||
private Double points;
|
||||
|
||||
/**
|
||||
* 商品类型 0:普通商品 1:积分商品 2:福利商品 3:积分和普通通用商品
|
||||
*/
|
||||
private Integer type;
|
||||
|
||||
/**
|
||||
* sku列表
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
private List<Sku> skuList;
|
||||
|
||||
/**
|
||||
* 店铺名称
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
private String shopName;
|
||||
|
||||
@TableField(exist = false)
|
||||
private List<Long> tagList;
|
||||
/** VIP等级 */
|
||||
private Integer vipGrade;
|
||||
|
||||
@TableField(exist = false)
|
||||
private List<Integer> categoryIdList;
|
||||
|
||||
@TableField(exist = false)
|
||||
private List<Long> typeList;
|
||||
|
||||
@Data
|
||||
public static class DeliveryModeVO {
|
||||
|
||||
/**
|
||||
* 用户自提
|
||||
*/
|
||||
private Boolean hasUserPickUp;
|
||||
|
||||
/**
|
||||
* 店铺配送
|
||||
*/
|
||||
private Boolean hasShopDelivery;
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.pxdj.common.json.ImgJsonSerializer;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @author lanhai
|
||||
*/
|
||||
@Data
|
||||
@TableName("tz_project")
|
||||
public class Project implements Serializable {
|
||||
private static final long serialVersionUID = 2090714647038636802L;
|
||||
|
||||
/**
|
||||
* ID
|
||||
*/
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Integer id;
|
||||
/**
|
||||
* '分组名称'
|
||||
*/
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* '现价格'
|
||||
*/
|
||||
private Double price;
|
||||
/**
|
||||
* '原价'
|
||||
*/
|
||||
private Double oriPrice;
|
||||
/**
|
||||
* 类型0:保健 1:调理
|
||||
*/
|
||||
private Integer type;
|
||||
/**
|
||||
* '时长'
|
||||
*/
|
||||
private Integer duration;
|
||||
/**
|
||||
* '图片'
|
||||
*/
|
||||
@JsonSerialize(using = ImgJsonSerializer.class)
|
||||
private String pic;
|
||||
/**
|
||||
* ''详情''
|
||||
*/
|
||||
private String details;
|
||||
|
||||
/**
|
||||
* 是否推荐0不推荐 1推荐
|
||||
*/
|
||||
private Integer isRecommend;
|
||||
|
||||
/**
|
||||
* 销售量
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
private Integer saleNum;
|
||||
|
||||
/**
|
||||
* 是否选中项目0否1是
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
private Integer isSelected =0;
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
package com.pxdj.api.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
/**
|
||||
* 充值记录对象 tz_recharge_record
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-03-12
|
||||
*/
|
||||
@Data
|
||||
@TableName("tz_recharge_record")
|
||||
public class RechargeRecord {
|
||||
|
||||
/**
|
||||
* $column.columnComment
|
||||
*/
|
||||
@TableId
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 用户id
|
||||
*/
|
||||
private String userId;
|
||||
|
||||
/**
|
||||
* 订单号
|
||||
*/
|
||||
private String outTradeNo;
|
||||
|
||||
/**
|
||||
* 产品id
|
||||
*/
|
||||
private String prodId;
|
||||
|
||||
/**
|
||||
* 产品名称
|
||||
*/
|
||||
private String prodName;
|
||||
|
||||
/**
|
||||
* 价值
|
||||
*/
|
||||
private Double price;
|
||||
|
||||
/**
|
||||
* 充值状态 1失败 0成功
|
||||
*/
|
||||
private Integer payStatus;
|
||||
|
||||
private String remark;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @author XUElIJUN
|
||||
*/
|
||||
@Data
|
||||
@TableName("tz_recommend_record")
|
||||
public class RecommendRecord implements Serializable {
|
||||
private static final long serialVersionUID = -6013320537436192451L;
|
||||
@TableId
|
||||
private Long id;
|
||||
|
||||
@Schema(description = "推荐人" )
|
||||
private String fromUserId;
|
||||
|
||||
@Schema(description = "被推荐人" )
|
||||
private String toUserId;
|
||||
|
||||
@Schema(description = "时间" )
|
||||
private Date createTime;
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @author lanhai
|
||||
*/
|
||||
@Data
|
||||
@TableName("tz_schedule")
|
||||
public class Schedule implements Serializable {
|
||||
private static final long serialVersionUID = 2090714647038636802L;
|
||||
|
||||
/**
|
||||
* ID
|
||||
*/
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Integer id;
|
||||
/**
|
||||
* 用户id
|
||||
*/
|
||||
private String userId;
|
||||
|
||||
/**
|
||||
* 订单id
|
||||
*/
|
||||
private String orderNumber;
|
||||
|
||||
/**
|
||||
* 商户服务id
|
||||
*/
|
||||
private String merchantId;
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private Date startTime;
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
private Date endTime;
|
||||
|
||||
/**
|
||||
* 类型0:下单忙时 1:商家端设置的忙时
|
||||
*/
|
||||
private Integer type;
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
package com.pxdj.api.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 积分详情
|
||||
*
|
||||
* @author user
|
||||
* @since 2025-01-10 10:39
|
||||
*/
|
||||
@Data
|
||||
@TableName("tz_score_detail")
|
||||
public class ScoreDetail implements Serializable {
|
||||
@Schema(description = "主键", required = false)
|
||||
private Integer id;
|
||||
@Schema(description = "用户id", required = false)
|
||||
@NotNull(message = "用户id不能为空")
|
||||
private String userId;
|
||||
@Schema(description = "积分描述", required = false)
|
||||
private String scoreDescription;
|
||||
@Schema(description = "积分数量", required = true)
|
||||
private Double quantity;
|
||||
@Schema(description = "创建时间", required = false)
|
||||
private Date createTime;
|
||||
@Schema(description = "创建时间", required = false)
|
||||
private Integer type;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,160 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.domain;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @author lanhai
|
||||
*/
|
||||
@Data
|
||||
@TableName("tz_shop_detail")
|
||||
public class ShopDetail implements Serializable{
|
||||
private static final long serialVersionUID = 3300529542917772262L;
|
||||
/**
|
||||
* 店铺id
|
||||
*/
|
||||
@TableId
|
||||
private Long shopId;
|
||||
|
||||
/**
|
||||
* 店铺名称(数字、中文,英文(可混合,不可有特殊字符),可修改)、不唯一
|
||||
*/
|
||||
private String shopName;
|
||||
|
||||
/**
|
||||
* 店长用户id
|
||||
*/
|
||||
private String userId;
|
||||
|
||||
/**
|
||||
* 店铺类型
|
||||
*/
|
||||
private Integer shopType;
|
||||
|
||||
/**
|
||||
* 店铺简介(可修改)
|
||||
*/
|
||||
private String intro;
|
||||
|
||||
/**
|
||||
* 店铺公告(可修改)
|
||||
*/
|
||||
private String shopNotice;
|
||||
|
||||
/**
|
||||
* 店铺行业(餐饮、生鲜果蔬、鲜花等)
|
||||
*/
|
||||
private Integer shopIndustry;
|
||||
|
||||
/**
|
||||
* 店长
|
||||
*/
|
||||
private String shopOwner;
|
||||
|
||||
/**
|
||||
* 店铺绑定的手机(登录账号:唯一)
|
||||
*/
|
||||
private String mobile;
|
||||
|
||||
/**
|
||||
* 店铺联系电话
|
||||
*/
|
||||
private String tel;
|
||||
|
||||
/**
|
||||
* 店铺所在纬度(可修改)
|
||||
*/
|
||||
private String shopLat;
|
||||
|
||||
/**
|
||||
* 店铺所在经度(可修改)
|
||||
*/
|
||||
private String shopLng;
|
||||
|
||||
/**
|
||||
* 店铺详细地址
|
||||
*/
|
||||
private String shopAddress;
|
||||
|
||||
/**
|
||||
* 店铺所在省份(描述)
|
||||
*/
|
||||
private String province;
|
||||
|
||||
/**
|
||||
* 店铺所在城市(描述)
|
||||
*/
|
||||
private String city;
|
||||
|
||||
/**
|
||||
* 店铺所在区域(描述)
|
||||
*/
|
||||
private String area;
|
||||
|
||||
/**
|
||||
* 店铺省市区代码,用于回显
|
||||
*/
|
||||
private String pcaCode;
|
||||
|
||||
/**
|
||||
* 店铺logo(可修改)
|
||||
*/
|
||||
private String shopLogo;
|
||||
|
||||
/**
|
||||
* 店铺相册
|
||||
*/
|
||||
private String shopPhotos;
|
||||
|
||||
/**
|
||||
* 每天营业时间段(可修改)
|
||||
*/
|
||||
private String openTime;
|
||||
|
||||
/**
|
||||
* 店铺状态(-1:未开通 0: 停业中 1:营业中),可修改
|
||||
*/
|
||||
private Integer shopStatus;
|
||||
|
||||
/**
|
||||
* 0:商家承担运费; 1:买家承担运费
|
||||
*/
|
||||
private Integer transportType;
|
||||
|
||||
/**
|
||||
* 固定运费
|
||||
*/
|
||||
private Double fixedFreight;
|
||||
|
||||
/**
|
||||
* 满X包邮
|
||||
*/
|
||||
private Double fullFreeShipping;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private Date createTime;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
private Date updateTime;
|
||||
|
||||
/**
|
||||
* 分销设置(0关闭 1开启)
|
||||
*/
|
||||
private Integer isDistribution;
|
||||
}
|
||||
126
pxdj-java/pxdj-bean/src/main/java/com/pxdj/api/domain/Sku.java
Normal file
126
pxdj-java/pxdj-bean/src/main/java/com/pxdj/api/domain/Sku.java
Normal file
@@ -0,0 +1,126 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @author lanhai
|
||||
*/
|
||||
@Data
|
||||
@TableName("tz_sku")
|
||||
public class Sku implements Serializable {
|
||||
/**
|
||||
* 单品ID
|
||||
*/
|
||||
@TableId
|
||||
private Long skuId;
|
||||
|
||||
/**
|
||||
* 商品ID
|
||||
*/
|
||||
private Long prodId;
|
||||
|
||||
/**
|
||||
* 销售属性组合字符串,格式是p1:v1;p2:v2
|
||||
*/
|
||||
private String properties;
|
||||
|
||||
/**
|
||||
* 原价
|
||||
*/
|
||||
private Double oriPrice;
|
||||
|
||||
/**
|
||||
* 价格
|
||||
*/
|
||||
private Double price;
|
||||
|
||||
/**
|
||||
* 积分
|
||||
*/
|
||||
private Double points;
|
||||
/**
|
||||
* 库存
|
||||
*/
|
||||
private Integer stocks;
|
||||
|
||||
/**
|
||||
* 实际库存
|
||||
*/
|
||||
private Integer actualStocks;
|
||||
|
||||
/**
|
||||
* 修改时间
|
||||
*/
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date updateTime;
|
||||
|
||||
/**
|
||||
* 记录时间
|
||||
*/
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date recTime;
|
||||
|
||||
/**
|
||||
* 商家编码
|
||||
*/
|
||||
private String partyCode;
|
||||
|
||||
/**
|
||||
* 商品条形码
|
||||
*/
|
||||
private String modelId;
|
||||
|
||||
/**
|
||||
* sku图片
|
||||
*/
|
||||
private String pic;
|
||||
|
||||
/**
|
||||
* sku名称
|
||||
*/
|
||||
private String skuName;
|
||||
|
||||
/**
|
||||
* 商品名称
|
||||
*/
|
||||
private String prodName;
|
||||
|
||||
private Integer version;
|
||||
|
||||
/**
|
||||
* 重量
|
||||
*/
|
||||
private Double weight;
|
||||
|
||||
/**
|
||||
* 体积
|
||||
*/
|
||||
private Double volume;
|
||||
|
||||
/**
|
||||
* 状态:0禁用 1 启用
|
||||
*/
|
||||
private Integer status;
|
||||
|
||||
/**
|
||||
* 0 正常 1 已被删除
|
||||
*/
|
||||
private Integer isDelete;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,77 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @author lanhai
|
||||
*/
|
||||
@Data
|
||||
@TableName("tz_sms_log")
|
||||
public class SmsLog {
|
||||
/**
|
||||
* ID
|
||||
*/
|
||||
@TableId
|
||||
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 用户id
|
||||
*/
|
||||
|
||||
private String userId;
|
||||
|
||||
/**
|
||||
* 手机号码
|
||||
*/
|
||||
|
||||
private String userPhone;
|
||||
|
||||
/**
|
||||
* 短信内容
|
||||
*/
|
||||
private String content;
|
||||
|
||||
/**
|
||||
* 手机验证码
|
||||
*/
|
||||
|
||||
private String mobileCode;
|
||||
|
||||
/**
|
||||
* 短信类型 1:注册 2:验证
|
||||
*/
|
||||
private Integer type;
|
||||
|
||||
/**
|
||||
* 发送时间
|
||||
*/
|
||||
|
||||
private Date recDate;
|
||||
|
||||
/**
|
||||
* 发送短信返回码
|
||||
*/
|
||||
|
||||
private String responseCode;
|
||||
|
||||
/**
|
||||
* 状态 1:有效 0:失效
|
||||
*/
|
||||
private Integer status;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author lanhai
|
||||
*/
|
||||
@Data
|
||||
@TableName("tz_transfer_record")
|
||||
public class TransferRecord implements Serializable {
|
||||
private static final long serialVersionUID = -6013320537436191451L;
|
||||
@TableId
|
||||
private Long id;
|
||||
|
||||
@Schema(description = "用户ID" )
|
||||
private String userId;
|
||||
|
||||
@Schema(description = "被转移商户" )
|
||||
private String fromMerchantId;
|
||||
|
||||
@Schema(description = "转移到的商户" )
|
||||
private String toMerchantId;
|
||||
|
||||
@Schema(description = "地区层级" )
|
||||
private Date createTime;
|
||||
}
|
||||
190
pxdj-java/pxdj-bean/src/main/java/com/pxdj/api/domain/User.java
Normal file
190
pxdj-java/pxdj-bean/src/main/java/com/pxdj/api/domain/User.java
Normal file
@@ -0,0 +1,190 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.pxdj.common.json.ImgJsonSerializer;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
/**
|
||||
* @author lanhai
|
||||
*/
|
||||
@Data
|
||||
@TableName("tz_user")
|
||||
public class User implements Serializable {
|
||||
private static final long serialVersionUID = 2090714647038636896L;
|
||||
/**
|
||||
* ID
|
||||
*/
|
||||
@TableId(type = IdType.INPUT)
|
||||
private String userId;
|
||||
|
||||
/**
|
||||
* 用户昵称
|
||||
*/
|
||||
private String nickName;
|
||||
|
||||
|
||||
/**
|
||||
* 是否需要激活0否1是
|
||||
*/
|
||||
private Integer isActivation;
|
||||
|
||||
/**
|
||||
* 真实姓名
|
||||
*/
|
||||
|
||||
private String realName;
|
||||
|
||||
|
||||
/**
|
||||
* 登录密码
|
||||
*/
|
||||
|
||||
private String loginPassword;
|
||||
|
||||
/**
|
||||
* 支付密码
|
||||
*/
|
||||
|
||||
private String payPassword;
|
||||
|
||||
/**
|
||||
* 手机号码
|
||||
*/
|
||||
|
||||
private String userMobile;
|
||||
|
||||
/**
|
||||
* 0自主注册 1:推荐普通用户2优质用户
|
||||
*/
|
||||
private Integer niceType;
|
||||
/**
|
||||
* 修改时间
|
||||
*/
|
||||
|
||||
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
||||
private Date modifyTime;
|
||||
|
||||
/**
|
||||
* 注册时间
|
||||
*/
|
||||
|
||||
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
||||
private Date userRegtime;
|
||||
|
||||
/**
|
||||
* 注册IP
|
||||
*/
|
||||
|
||||
private String userRegip;
|
||||
|
||||
/**
|
||||
* 最后登录时间
|
||||
*/
|
||||
|
||||
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
||||
private Date userLasttime;
|
||||
|
||||
/**
|
||||
* 最后登录IP
|
||||
*/
|
||||
|
||||
private String userLastip;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
|
||||
private String userMemo;
|
||||
|
||||
/**
|
||||
* M(男) or F(女)
|
||||
*/
|
||||
private String sex;
|
||||
|
||||
/**
|
||||
* 例如:2009-11-27
|
||||
*/
|
||||
|
||||
@DateTimeFormat(pattern="yyyy-MM-dd")
|
||||
private String birthDate;
|
||||
|
||||
/**
|
||||
* 头像图片路径
|
||||
*/
|
||||
@JsonSerialize(using = ImgJsonSerializer.class)
|
||||
private String pic;
|
||||
|
||||
/**
|
||||
* 状态 1 正常 0 无效
|
||||
*/
|
||||
private Integer status;
|
||||
|
||||
|
||||
/**
|
||||
* 是否是真人 1真人0不是真人
|
||||
*/
|
||||
private Integer isPerson;
|
||||
|
||||
/**
|
||||
* 积分
|
||||
*/
|
||||
private Double score;
|
||||
|
||||
|
||||
/**
|
||||
* 优惠比例
|
||||
*/
|
||||
private Double discountRatio;
|
||||
|
||||
/**
|
||||
* 用户余额
|
||||
*/
|
||||
private Double balance;
|
||||
|
||||
/**
|
||||
* 会员等级
|
||||
*/
|
||||
private Integer vipGrade;
|
||||
|
||||
@Schema(description = "简介" )
|
||||
private String brief;
|
||||
|
||||
@Schema(description = "相册" )
|
||||
private String images;
|
||||
/**
|
||||
* 微信openId
|
||||
*/
|
||||
private String openid;
|
||||
private Integer userType;
|
||||
private String unionid;
|
||||
/**
|
||||
* 服务号openId
|
||||
*/
|
||||
private String serviceOpenid;
|
||||
|
||||
/**
|
||||
* 是否关注 1关注0取消关注
|
||||
*/
|
||||
private String isSubscribe;
|
||||
@TableField(exist = false)
|
||||
private String SessionId;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,116 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 用户地址管理
|
||||
*
|
||||
* @author hzm
|
||||
* @date 2019-04-15 10:49:40
|
||||
*/
|
||||
@Data
|
||||
@TableName("tz_user_addr")
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
public class UserAddr implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* ID
|
||||
*/
|
||||
@TableId
|
||||
private Long addrId;
|
||||
/**
|
||||
* 用户ID
|
||||
*/
|
||||
private String userId;
|
||||
/**
|
||||
* 收货人
|
||||
*/
|
||||
private String receiver;
|
||||
/**
|
||||
* 省ID
|
||||
*/
|
||||
private Long provinceId;
|
||||
/**
|
||||
* 省
|
||||
*/
|
||||
private String province;
|
||||
/**
|
||||
* 城市
|
||||
*/
|
||||
private String city;
|
||||
/**
|
||||
* 城市ID
|
||||
*/
|
||||
private Long cityId;
|
||||
/**
|
||||
* 区
|
||||
*/
|
||||
private String area;
|
||||
/**
|
||||
* 区ID
|
||||
*/
|
||||
private Long areaId;
|
||||
/**
|
||||
* 邮编
|
||||
*/
|
||||
private String postCode;
|
||||
/**
|
||||
* 地址
|
||||
*/
|
||||
private String addr;
|
||||
/**
|
||||
* 手机
|
||||
*/
|
||||
private String mobile;
|
||||
/**
|
||||
* 状态,1正常,0无效
|
||||
*/
|
||||
private Integer status;
|
||||
/**
|
||||
* 是否默认地址 1是
|
||||
*/
|
||||
private Integer commonAddr;
|
||||
/**
|
||||
* 建立时间
|
||||
*/
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date createTime;
|
||||
/**
|
||||
* 版本号
|
||||
*/
|
||||
private Integer version;
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date updateTime;
|
||||
|
||||
/**
|
||||
* 经度
|
||||
*/
|
||||
private String lat;
|
||||
|
||||
/**
|
||||
* 维度
|
||||
*/
|
||||
private String lon;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,125 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
/**
|
||||
* @author lanhai
|
||||
*/
|
||||
@Data
|
||||
@TableName("tz_user_addr_order")
|
||||
public class UserAddrOrder implements Serializable {
|
||||
/**
|
||||
* ID
|
||||
*/
|
||||
@TableId
|
||||
|
||||
|
||||
private Long addrOrderId;
|
||||
|
||||
/**
|
||||
* 地址ID
|
||||
*/
|
||||
|
||||
private Long addrId;
|
||||
|
||||
/**
|
||||
* 用户ID
|
||||
*/
|
||||
|
||||
private String userId;
|
||||
|
||||
/**
|
||||
* 收货人
|
||||
*/
|
||||
private String receiver;
|
||||
|
||||
/**
|
||||
* 省
|
||||
*/
|
||||
|
||||
private String province;
|
||||
|
||||
/**
|
||||
* 城市
|
||||
*/
|
||||
|
||||
private String city;
|
||||
|
||||
/**
|
||||
* 区
|
||||
*/
|
||||
|
||||
private String area;
|
||||
|
||||
/**
|
||||
* 地址
|
||||
*/
|
||||
private String addr;
|
||||
|
||||
/**
|
||||
* 邮编
|
||||
*/
|
||||
|
||||
private String postCode;
|
||||
|
||||
/**
|
||||
* 省ID
|
||||
*/
|
||||
|
||||
private Long provinceId;
|
||||
|
||||
/**
|
||||
* 城市ID
|
||||
*/
|
||||
|
||||
private Long cityId;
|
||||
|
||||
/**
|
||||
* 区域ID
|
||||
*/
|
||||
|
||||
private Long areaId;
|
||||
|
||||
/**
|
||||
* 手机
|
||||
*/
|
||||
private String mobile;
|
||||
|
||||
/**
|
||||
* 建立时间
|
||||
*/
|
||||
|
||||
private Date createTime;
|
||||
|
||||
/**
|
||||
* 版本号
|
||||
*/
|
||||
private Integer version;
|
||||
|
||||
/**
|
||||
* 经度
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
private String lat;
|
||||
|
||||
/**
|
||||
* 纬度
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
private String lon;
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 用户收藏表
|
||||
*
|
||||
* @author xwc
|
||||
* @date 2019-04-19 16:57:20
|
||||
*/
|
||||
@Data
|
||||
@TableName("tz_user_collection")
|
||||
public class UserCollection implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 收藏表
|
||||
*/
|
||||
@TableId
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 商户id
|
||||
*/
|
||||
private String merchantId;
|
||||
|
||||
/**
|
||||
* 用户id
|
||||
*/
|
||||
private String userId;
|
||||
|
||||
/**
|
||||
* 收藏时间
|
||||
*/
|
||||
private Date createTime;
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author lanhai
|
||||
*/
|
||||
@Data
|
||||
@TableName("tz_user_extend")
|
||||
public class UserExtend implements Serializable {
|
||||
private static final long serialVersionUID = 2090714647038636897L;
|
||||
/**
|
||||
* ID
|
||||
*/
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Long id;
|
||||
|
||||
private String userId;
|
||||
|
||||
/**
|
||||
* 被邀请码
|
||||
*/
|
||||
private String InvitedCode;
|
||||
|
||||
/**
|
||||
* 是否领取过新人礼包(0:未领取 1:已领取)
|
||||
*/
|
||||
private int isNew;
|
||||
|
||||
|
||||
/**
|
||||
* 经度
|
||||
*/
|
||||
private String lat;
|
||||
|
||||
/**
|
||||
* 维度
|
||||
*/
|
||||
private String lon;
|
||||
}
|
||||
@@ -0,0 +1,120 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
package com.pxdj.api.domain;
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 用户提现实体类
|
||||
*/
|
||||
@Data
|
||||
@TableName("tz_user_withdrawal")
|
||||
public class UserWithdrawal implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 提现记录ID
|
||||
*/
|
||||
@TableId(type = IdType.AUTO)
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 用户ID
|
||||
*/
|
||||
private String userId;
|
||||
|
||||
private Long deptId;
|
||||
|
||||
/**
|
||||
* 提现金额
|
||||
*/
|
||||
private Double amount;
|
||||
|
||||
/**
|
||||
* 抽佣后的提现金额
|
||||
*/
|
||||
//@TableField(exist = false)
|
||||
private Double actualAmount;
|
||||
|
||||
/**
|
||||
* 抽佣后的提现金额
|
||||
*/
|
||||
//@TableField(exist = false)
|
||||
private Double commission;
|
||||
|
||||
/**
|
||||
* 申请时间
|
||||
*/
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date applyTime;
|
||||
|
||||
/**
|
||||
* 处理时间
|
||||
*/
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date processTime;
|
||||
|
||||
/**
|
||||
* 状态: 0-待处理, 1-已通过, 2-已拒绝
|
||||
*/
|
||||
private Integer status;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
private String remark;
|
||||
|
||||
/**
|
||||
* 拒绝原因
|
||||
*/
|
||||
private String rejectReason;
|
||||
|
||||
/**
|
||||
* 商户提交审核:0代理提交审核:1pxdj提交审核:2
|
||||
*/
|
||||
private Integer type;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date updateTime;
|
||||
|
||||
/**
|
||||
* 用户信息,不存入数据库
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
private User user;
|
||||
|
||||
/**
|
||||
* '用户昵称'
|
||||
*/
|
||||
//@TableField(exist = false)
|
||||
private String nickName;
|
||||
|
||||
/**
|
||||
* '用户电话'
|
||||
*/
|
||||
//@TableField(exist = false)
|
||||
private String userMobile;
|
||||
|
||||
/**
|
||||
* '城市'
|
||||
*/
|
||||
// @TableField(exist = false)
|
||||
private String city;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,104 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @author lanhai
|
||||
*/
|
||||
@Data
|
||||
@TableName("tz_vip_package")
|
||||
public class VipPackage implements Serializable {
|
||||
private static final long serialVersionUID = 2090714647038636801L;
|
||||
/**
|
||||
* ID
|
||||
*/
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Integer id;
|
||||
|
||||
/**
|
||||
* '套餐名称'
|
||||
*/
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* '套餐别名'
|
||||
*/
|
||||
private String nameExtra;
|
||||
|
||||
/**
|
||||
* 套餐价格
|
||||
*/
|
||||
private Double price;
|
||||
|
||||
/**
|
||||
* 原价
|
||||
*/
|
||||
private Double oriPrice;
|
||||
/**
|
||||
* 套餐等级(0:普通用户1:普通会员2:高级会员3:代理)
|
||||
*/
|
||||
private Integer grade;
|
||||
|
||||
/**
|
||||
* 赠送积分数
|
||||
*/
|
||||
private Double points;
|
||||
|
||||
|
||||
/**
|
||||
* 优惠比例
|
||||
*/
|
||||
private Double discountRatio;
|
||||
|
||||
|
||||
/**
|
||||
* 优惠比例
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
private Integer isDiscount;
|
||||
/**
|
||||
* 赠品描述
|
||||
*/
|
||||
private String giftDescribe;
|
||||
|
||||
/* *//**
|
||||
* 拉新人赠送的积分
|
||||
*//*
|
||||
private Double lachinePoints;*/
|
||||
|
||||
private Integer status;
|
||||
/**
|
||||
* 创建人ID
|
||||
*/
|
||||
private String createBy;
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private Date createTime;
|
||||
/**
|
||||
* 更新者
|
||||
*/
|
||||
private String updateBy;
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
private Date updateTime;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,64 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @author XUELIJUN
|
||||
*/
|
||||
@Data
|
||||
@TableName("tz_welfare_gift_record")
|
||||
public class WelfareGiftRecord implements Serializable {
|
||||
private static final long serialVersionUID = 2090714647038636802L;
|
||||
/**
|
||||
* ID
|
||||
*/
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* '套餐名称'
|
||||
*/
|
||||
private Integer prodId;
|
||||
/**
|
||||
* '用户id'
|
||||
*/
|
||||
private String userId;
|
||||
|
||||
/**
|
||||
* 领取状态0:未领取 1:已领取
|
||||
*/
|
||||
private Integer status;
|
||||
/**
|
||||
* 创建人ID
|
||||
*/
|
||||
private String createBy;
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private Date createTime;
|
||||
/**
|
||||
* 更新者
|
||||
*/
|
||||
private String updateBy;
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
private Date updateTime;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.dto;
|
||||
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author xuelijun
|
||||
*/
|
||||
@Schema(description = "提交订单")
|
||||
@Data
|
||||
public class AddOrderDto implements Serializable {
|
||||
/**
|
||||
* 业务类型
|
||||
*/
|
||||
private Integer bizType;
|
||||
|
||||
@Schema(description = "vip套餐id" )
|
||||
private Integer vipPackageId;
|
||||
|
||||
@Schema(description = "商品id" )
|
||||
private List<AddProdDto> prodIds;
|
||||
@Schema(description = "购物车id 数组" )
|
||||
private List<Long> basketIds;
|
||||
@Schema(description = "商品数量" )
|
||||
private Integer productNums;
|
||||
/**
|
||||
* 商品id
|
||||
*/
|
||||
private Long prodId;
|
||||
@Schema(description = "收获地址id" )
|
||||
private long addressId;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.dto;
|
||||
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author xuelijun
|
||||
*/
|
||||
@Schema(description = "商品id")
|
||||
@Data
|
||||
public class AddProdDto implements Serializable {
|
||||
/**
|
||||
* 商品id
|
||||
*/
|
||||
private Long prodId;
|
||||
|
||||
@Schema(description = "商品数量" )
|
||||
private Integer productNums;
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.dto;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.pxdj.common.json.ImgJsonSerializer;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author lanhai
|
||||
*/
|
||||
@Data
|
||||
public class BasketItemDto implements Serializable {
|
||||
|
||||
@Schema(description = "购物车ID" , required = true)
|
||||
private Long basketId;
|
||||
|
||||
@Schema(description = "店铺ID" , required = true)
|
||||
private Long shopId;
|
||||
|
||||
/**
|
||||
* 商品名称
|
||||
*/
|
||||
@JsonIgnore
|
||||
private String shopName;
|
||||
|
||||
@Schema(description = "产品ID" , required = true)
|
||||
private Long prodId;
|
||||
|
||||
@Schema(description = "skuID" , required = true)
|
||||
private Long skuId;
|
||||
|
||||
@Schema(description = "产品个数" , required = true)
|
||||
private Integer prodCount;
|
||||
|
||||
@Schema(description = "产品名称" , required = true)
|
||||
private String prodName;
|
||||
|
||||
@Schema(description = "产品主图" , required = true)
|
||||
@JsonSerialize(using = ImgJsonSerializer.class)
|
||||
private String pic;
|
||||
|
||||
@Schema(description = "产品现价" , required = true)
|
||||
private Double price;
|
||||
|
||||
@Schema(description = "产品原价" , required = true)
|
||||
private Double oriPrice;
|
||||
|
||||
@Schema(description = "产品简介" , required = true)
|
||||
private String brief;
|
||||
|
||||
@Schema(description = "产品sku信息" , required = true)
|
||||
private String skuName;
|
||||
|
||||
@Schema(description = "参与满减活动列表" )
|
||||
private List<DiscountDto> discounts;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.dto;
|
||||
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.pxdj.common.json.ImgJsonSerializer;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @author lanhai
|
||||
*/
|
||||
@Data
|
||||
public class CategoryDto {
|
||||
|
||||
@Schema(description = "分类id" ,required=true)
|
||||
private Long categoryId;
|
||||
|
||||
@Schema(description = "分类父id" ,required=true)
|
||||
private Long parentId;
|
||||
|
||||
@Schema(description = "分类名称" ,required=true)
|
||||
private String categoryName;
|
||||
|
||||
@Schema(description = "分类图片" ,required=true)
|
||||
@JsonSerialize(using = ImgJsonSerializer.class)
|
||||
private String pic;
|
||||
|
||||
@JsonSerialize(using = ImgJsonSerializer.class)
|
||||
private String icon;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.dto;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 购物车中选中的满减活动项信息
|
||||
* @author lanhai
|
||||
*/
|
||||
@Data
|
||||
public class ChooseDiscountItemDto implements Serializable {
|
||||
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.dto;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author lanhai
|
||||
*/
|
||||
@Data
|
||||
public class CouponOrderDto implements Serializable {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.dto;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author lanhai
|
||||
*/
|
||||
@Data
|
||||
public class DeliveryDto {
|
||||
|
||||
@Schema(description = "物流公司名称" ,required=true)
|
||||
private String companyName;
|
||||
|
||||
@Schema(description = "物流公司官网" ,required=true)
|
||||
private String companyHomeUrl;
|
||||
|
||||
@Schema(description = "物流订单号" ,required=true)
|
||||
private String dvyFlowId;
|
||||
|
||||
@Schema(description = "查询出的物流信息" ,required=true)
|
||||
private List<DeliveryInfoDto> data;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.dto;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @author lanhai
|
||||
*/
|
||||
@Data
|
||||
public class DeliveryInfoDto {
|
||||
|
||||
@Schema(description = "详细信息" ,required=true)
|
||||
private String context;
|
||||
|
||||
private String ftime;
|
||||
|
||||
@Schema(description = "快递所在区域" ,required=true)
|
||||
private String location;
|
||||
|
||||
@Schema(description = "物流更新时间" ,required=true)
|
||||
private String time;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.dto;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author lanhai
|
||||
*/
|
||||
@Data
|
||||
public class DiscountDto implements Serializable {
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
package com.pxdj.api.dto;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Author liwq
|
||||
* @Date 2025年03月14日 14:52
|
||||
* @Desc
|
||||
*/
|
||||
@Data
|
||||
public class FileDto {
|
||||
|
||||
private String fileUrl;
|
||||
private String fileName;
|
||||
|
||||
|
||||
public FileDto(String fileUrl, String fileName) {
|
||||
this.fileUrl =fileUrl;
|
||||
this.fileName = fileName;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.dto;
|
||||
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author lanhai
|
||||
*/
|
||||
@Schema(description = "热搜数据")
|
||||
@Data
|
||||
public class HotSearchDto implements Serializable {
|
||||
|
||||
@Schema(description = "热搜id" )
|
||||
private Long hotSearchId;
|
||||
|
||||
@Schema(description = "标题" )
|
||||
private String title;
|
||||
|
||||
@Schema(description = "内容" )
|
||||
private String content;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.dto;
|
||||
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.pxdj.common.json.ImgJsonSerializer;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @author lanhai
|
||||
*/
|
||||
@Schema(description = "首页图片对象")
|
||||
@Data
|
||||
public class IndexImgDto {
|
||||
|
||||
/**
|
||||
* 图片
|
||||
*/
|
||||
@JsonSerialize(using = ImgJsonSerializer.class)
|
||||
@Schema(description = "图片Url" , required = true)
|
||||
private String imgUrl;
|
||||
|
||||
/**
|
||||
* 顺序
|
||||
*/
|
||||
@Schema(description = "图片顺序" , required = true)
|
||||
private Integer seq;
|
||||
|
||||
/**
|
||||
* 上传时间
|
||||
*/
|
||||
@Schema(description = "上传时间" , required = true)
|
||||
private Date uploadTime;
|
||||
|
||||
/**
|
||||
* 类型
|
||||
*/
|
||||
@Schema(description = "类型" , required = true)
|
||||
private int type;
|
||||
|
||||
/**
|
||||
* 关联id
|
||||
*/
|
||||
@Schema(description = "关联id" , required = true)
|
||||
private Long relation;
|
||||
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.dto;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @author lanhai
|
||||
*/
|
||||
@Schema(description = "商品评论数据")
|
||||
@Data
|
||||
public class MerchantCommDataDto {
|
||||
|
||||
@Schema(description = "好评率" )
|
||||
private Double positiveRating;
|
||||
|
||||
@Schema(description = "评论数量" )
|
||||
private Integer number;
|
||||
|
||||
@Schema(description = "好评数" )
|
||||
private Integer praiseNumber;
|
||||
|
||||
@Schema(description = "中评数" )
|
||||
private Integer secondaryNumber;
|
||||
|
||||
@Schema(description = "差评数" )
|
||||
private Integer negativeNumber;
|
||||
|
||||
@Schema(description = "有图数" )
|
||||
private Integer picNumber;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
package com.pxdj.api.dto;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Author liwq
|
||||
* @Date 2025年03月13日 9:41
|
||||
* @Desc
|
||||
*/
|
||||
@Data
|
||||
public class MerchantDataDto {
|
||||
|
||||
//商户主页图
|
||||
private String pics;
|
||||
//综合评分
|
||||
private String totalScore;
|
||||
//成交率
|
||||
private String dealRate;
|
||||
//服务次数
|
||||
private String dealOrderCount;
|
||||
//信用分
|
||||
private String creditScore;
|
||||
//账户余额
|
||||
private Double balance;
|
||||
//本月提现
|
||||
private String monthWithdrawal;
|
||||
//今日提现
|
||||
private String dayWithdrawal;
|
||||
//本月收益
|
||||
private String monthIncome;
|
||||
|
||||
//待提现金额
|
||||
private Double waitPrice;
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
package com.pxdj.api.dto;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Author liwq
|
||||
* @Date 2025年03月14日 13:47
|
||||
* @Desc
|
||||
*/
|
||||
@Data
|
||||
public class MerchantFormDto {
|
||||
|
||||
//身份类型
|
||||
private Integer identityType;
|
||||
//姓名
|
||||
private String name;
|
||||
//手机号
|
||||
private String telPhone;
|
||||
//位置
|
||||
private String location;
|
||||
//性别
|
||||
private String sex;
|
||||
//头像
|
||||
private String picUrl;
|
||||
//意向城市
|
||||
private String exceptLocation;
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
package com.pxdj.api.dto;
|
||||
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.pxdj.common.json.ImgJsonSerializer;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @author lanhai
|
||||
*/
|
||||
@Data
|
||||
public class MerchantInfoDto {
|
||||
|
||||
/**
|
||||
* 商户名称
|
||||
*/
|
||||
private String merchantName;
|
||||
|
||||
/**
|
||||
* 商户图片
|
||||
*/
|
||||
@JsonSerialize(using = ImgJsonSerializer.class)
|
||||
private String merchantPic;
|
||||
|
||||
/**
|
||||
* 商户所在城市
|
||||
*/
|
||||
private String city;
|
||||
|
||||
/**
|
||||
* 商户电话
|
||||
*/
|
||||
private String merchantMobile;
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
package com.pxdj.api.dto;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Author liwq
|
||||
* @Date 2025年03月13日 17:44
|
||||
* @Desc
|
||||
*/
|
||||
@Data
|
||||
public class MerchantOrderInfoDto {
|
||||
|
||||
//待服务
|
||||
private long prePareCount;
|
||||
//进行中
|
||||
private long ingCount;
|
||||
//已完成
|
||||
private long finishedCount;
|
||||
|
||||
//订单收入
|
||||
private double orderIncome;
|
||||
//总订单数
|
||||
private long orderCount;
|
||||
//退款金额
|
||||
private double refundSum;
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
package com.pxdj.api.dto;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Author liwq
|
||||
* @Date 2025年03月13日 9:41
|
||||
* @Desc
|
||||
*/
|
||||
@Data
|
||||
public class MerchantPackageDataDto {
|
||||
|
||||
//总收益
|
||||
private String totalIncome;
|
||||
//总销量
|
||||
private String totalSales;
|
||||
//用户评价
|
||||
private String commentCount;
|
||||
//访客人数
|
||||
private String visitCount;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
package com.pxdj.api.dto;
|
||||
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.pxdj.common.json.ImgJsonSerializer;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
public class ModeDto {
|
||||
|
||||
private Integer id;
|
||||
|
||||
/**
|
||||
* 图片
|
||||
*/
|
||||
@JsonSerialize(using = ImgJsonSerializer.class)
|
||||
private String imgUrl;
|
||||
|
||||
/**
|
||||
* 类型
|
||||
*/
|
||||
private List<String> category;
|
||||
|
||||
/**
|
||||
* 数据
|
||||
*/
|
||||
private List<Object> datas;
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.dto;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author lanhai
|
||||
*/
|
||||
@Data
|
||||
@Schema(description = "我的订单")
|
||||
public class MyOrderDto {
|
||||
|
||||
@Schema(description = "订单项" ,required=true)
|
||||
private List<MyOrderItemDto> orderItemDtos;
|
||||
|
||||
@Schema(description = "订单号" ,required=true)
|
||||
private String orderNumber;
|
||||
|
||||
@Schema(description = "总价" ,required=true)
|
||||
private Double actualTotal;
|
||||
|
||||
@Schema(description = "订单状态" ,required=true)
|
||||
private Integer status;
|
||||
|
||||
@Schema(description = "VIP名称" ,required=true)
|
||||
private String vipName;
|
||||
|
||||
@Schema(description = "订单类型" ,required=true)
|
||||
private Integer orderType;
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.dto;
|
||||
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.pxdj.common.json.ImgJsonSerializer;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @author lanhai
|
||||
*/
|
||||
@Schema(description = "我的订单-订单项")
|
||||
@Data
|
||||
public class MyOrderItemDto {
|
||||
|
||||
@Schema(description = "商品图片" , required = true)
|
||||
@JsonSerialize(using = ImgJsonSerializer.class)
|
||||
private String pic;
|
||||
|
||||
@Schema(description = "商品名称" , required = true)
|
||||
private String prodName;
|
||||
|
||||
@Schema(description = "商品数量" , required = true)
|
||||
private Integer prodCount;
|
||||
|
||||
@Schema(description = "商品价格" , required = true)
|
||||
private Double price;
|
||||
|
||||
@Schema(description = "skuName" , required = true)
|
||||
private String skuName;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.dto;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @author lanhai
|
||||
*/
|
||||
@Schema(description = "公告对象")
|
||||
@Data
|
||||
public class NoticeDto {
|
||||
|
||||
@Schema(description = "公告id" )
|
||||
private Long id;
|
||||
|
||||
@Schema(description = "店铺id" )
|
||||
private Long shopId;
|
||||
|
||||
@Schema(description = "标题" )
|
||||
private String title;
|
||||
|
||||
@Schema(description = "公告内容" )
|
||||
private String content;
|
||||
|
||||
@Schema(description = "公告发布时间" )
|
||||
private Date publishTime;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.dto;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @author lanhai
|
||||
*/
|
||||
@Data
|
||||
@Schema(description = "我的订单数量")
|
||||
public class OrderCountData {
|
||||
|
||||
@Schema(description = "所有订单数量" )
|
||||
private Integer allCount;
|
||||
|
||||
@Schema(description = "待付款" )
|
||||
private Integer unPay;
|
||||
|
||||
@Schema(description = "待发货" )
|
||||
private Integer payed;
|
||||
|
||||
@Schema(description = "待收货" )
|
||||
private Integer consignment;
|
||||
|
||||
@Schema(description = "待评价" )
|
||||
private Integer confirm;
|
||||
|
||||
@Schema(description = "成功" )
|
||||
private Integer success;
|
||||
|
||||
@Schema(description = "失败" )
|
||||
private Integer close;
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.dto;
|
||||
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author LGH
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
public class OrderItemDto extends ProductItemDto implements Serializable {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.dto;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @author lanhai
|
||||
*/
|
||||
@Data
|
||||
public class OrderNumbersDto {
|
||||
|
||||
@Schema(description = "多个订单号拼接的字符串" ,required=true)
|
||||
private String orderNumbers;
|
||||
|
||||
public OrderNumbersDto(String orderNumbers) {
|
||||
this.orderNumbers = orderNumbers;
|
||||
}
|
||||
public OrderNumbersDto(){}
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.dto;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @author lanhai
|
||||
*/
|
||||
@Data
|
||||
@Schema(description = "我的订单数量")
|
||||
public class OrderRefundData {
|
||||
|
||||
@Schema(description = "所有订单数量" )
|
||||
private Integer orderNumber;
|
||||
|
||||
@Schema(description = "待付款" )
|
||||
private Double orderAmount;
|
||||
|
||||
@Schema(description = "待发货" )
|
||||
private Integer payed;
|
||||
|
||||
@Schema(description = "待收货" )
|
||||
private Integer consignment;
|
||||
|
||||
@Schema(description = "待评价" )
|
||||
private Integer confirm;
|
||||
|
||||
@Schema(description = "成功" )
|
||||
private Integer success;
|
||||
|
||||
@Schema(description = "失败" )
|
||||
private Integer close;
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,87 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.dto;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
import lombok.Data;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
|
||||
/**
|
||||
* 订单下的每个店铺
|
||||
*
|
||||
* @author YaMi
|
||||
*/
|
||||
@Data
|
||||
public class OrderShopDto implements Serializable {
|
||||
|
||||
/**
|
||||
* 店铺ID
|
||||
**/
|
||||
@Schema(description = "店铺id" , required = true)
|
||||
private Long shopId;
|
||||
|
||||
/**
|
||||
* 店铺名称
|
||||
**/
|
||||
@Schema(description = "店铺名称" , required = true)
|
||||
private String shopName;
|
||||
|
||||
@Schema(description = "实际总值" , required = true)
|
||||
private Double actualTotal;
|
||||
|
||||
@Schema(description = "商品总值" , required = true)
|
||||
private Double total;
|
||||
|
||||
@Schema(description = "商品总数" , required = true)
|
||||
private Integer totalNum;
|
||||
|
||||
@Schema(description = "地址Dto" , required = true)
|
||||
private UserAddrDto userAddrDto;
|
||||
|
||||
@Schema(description = "产品信息" , required = true)
|
||||
private List<OrderItemDto> orderItemDtos;
|
||||
|
||||
@Schema(description = "运费" , required = true)
|
||||
private Double transfee;
|
||||
|
||||
@Schema(description = "优惠总额" , required = true)
|
||||
private Double reduceAmount;
|
||||
|
||||
@Schema(description = "促销活动优惠金额" , required = true)
|
||||
private Double discountMoney;
|
||||
|
||||
@Schema(description = "优惠券优惠金额" , required = true)
|
||||
private Double couponMoney;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@Schema(description = "订单创建时间" , required = true)
|
||||
private Date createTime;
|
||||
|
||||
/**
|
||||
* 订单备注信息
|
||||
*/
|
||||
@Schema(description = "订单备注信息" , required = true)
|
||||
private String remarks;
|
||||
|
||||
/**
|
||||
* 订单状态
|
||||
*/
|
||||
@Schema(description = "订单状态" , required = true)
|
||||
private Integer status;
|
||||
}
|
||||
@@ -0,0 +1,102 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.dto;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.pxdj.common.json.ImgJsonSerializer;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @author lanhai
|
||||
*/
|
||||
@Schema(description = "评论对象")
|
||||
@Data
|
||||
public class ProdCommDto {
|
||||
|
||||
@Schema(description = "id" )
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 得分,0-5分
|
||||
*/
|
||||
@Schema(description = "得分,0-5分" )
|
||||
private Integer score;
|
||||
|
||||
/**
|
||||
* 得分,0-5分
|
||||
*/
|
||||
@Schema(description = "商户id" )
|
||||
private String merchantId;
|
||||
|
||||
/**
|
||||
* 是否匿名(1:是 0:否)
|
||||
*/
|
||||
@Schema(description = "是否匿名(1:是 0:否)" )
|
||||
private Integer isAnonymous;
|
||||
|
||||
/**
|
||||
* 掌柜回复
|
||||
*/
|
||||
@Schema(description = "掌柜回复" )
|
||||
private String replyContent;
|
||||
|
||||
/**
|
||||
* 记录时间
|
||||
*/
|
||||
@Schema(description = "记录时间" )
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
private Date recTime;
|
||||
|
||||
/**
|
||||
* 回复时间
|
||||
*/
|
||||
@Schema(description = "回复时间" )
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
private Date replyTime;
|
||||
|
||||
@Schema(description = "用户昵称" )
|
||||
private String nickName;
|
||||
|
||||
/**
|
||||
* 头像图片路径
|
||||
*/
|
||||
@Schema(description = "头像图片路径" )
|
||||
private String pic;
|
||||
|
||||
/**
|
||||
* 是否回复 0:未回复 1:已回复
|
||||
*/
|
||||
@Schema(description = "商家是否回复 0:未回复 1:已回复" )
|
||||
private Integer replySts;
|
||||
|
||||
/**
|
||||
* 评论图片
|
||||
*/
|
||||
@JsonSerialize(using = ImgJsonSerializer.class)
|
||||
@Schema(description = "评论图片" )
|
||||
private String pics;
|
||||
|
||||
/**
|
||||
* 评价等级
|
||||
*/
|
||||
@Schema(description = "0好评 1中评 2差评" )
|
||||
private Byte evaluate;
|
||||
|
||||
@Schema(description = "评论内容" )
|
||||
private String content;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.dto;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @author lanhai
|
||||
*/
|
||||
@Data
|
||||
public class ProdTagDto {
|
||||
|
||||
@Schema(description = "分组标签id" )
|
||||
private Long id;
|
||||
|
||||
@Schema(description = "分组标签标题" )
|
||||
private String title;
|
||||
|
||||
@Schema(description = "排序(数值越高越靠前)" )
|
||||
private String seq;
|
||||
|
||||
@Schema(description = "列表样式(0:一列一个,1:一列两个,2:一列三个)" )
|
||||
private String style;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,194 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.dto;
|
||||
|
||||
import com.pxdj.api.domain.Sku;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author lanhai
|
||||
*/
|
||||
@Data
|
||||
public class ProductDto {
|
||||
/**
|
||||
* 商品ID
|
||||
*/
|
||||
private Long prodId;
|
||||
|
||||
/**
|
||||
* 店铺id
|
||||
*/
|
||||
private Long shopId;
|
||||
|
||||
/**
|
||||
* 店铺名称
|
||||
*/
|
||||
private String shopName;
|
||||
|
||||
/**
|
||||
* 版本号
|
||||
*/
|
||||
private Integer version;
|
||||
|
||||
/**
|
||||
* 商品名称
|
||||
*/
|
||||
private String prodName;
|
||||
|
||||
/**
|
||||
* 原价
|
||||
*/
|
||||
private Double oriPrice;
|
||||
|
||||
/**
|
||||
* 现价
|
||||
*/
|
||||
private Double price;
|
||||
|
||||
/**
|
||||
* 简要描述,卖点等
|
||||
*/
|
||||
private String brief;
|
||||
|
||||
/**
|
||||
* 商品主图
|
||||
*/
|
||||
private String pic;
|
||||
|
||||
/**
|
||||
* 商品图片
|
||||
*/
|
||||
private String imgs;
|
||||
|
||||
|
||||
/**
|
||||
* 默认是1,表示正常状态
|
||||
*/
|
||||
private Integer status;
|
||||
|
||||
/**
|
||||
* 商品分类
|
||||
*/
|
||||
private Long categoryId;
|
||||
|
||||
/**
|
||||
* 观看人数
|
||||
*/
|
||||
private Integer views;
|
||||
|
||||
/**
|
||||
* 已经销售数量
|
||||
*/
|
||||
private Integer buys;
|
||||
|
||||
/**
|
||||
* 评论数
|
||||
*/
|
||||
private Integer comments;
|
||||
|
||||
/**
|
||||
* 评论得分
|
||||
*/
|
||||
private Integer commentScore;
|
||||
|
||||
/**
|
||||
* 库存量
|
||||
*/
|
||||
private Integer stocks;
|
||||
|
||||
/**
|
||||
* 实际库存
|
||||
*/
|
||||
private Integer actualStocks;
|
||||
|
||||
/**
|
||||
* 库存警告
|
||||
*/
|
||||
private Integer stocksArm;
|
||||
|
||||
/**
|
||||
* 关键字
|
||||
*/
|
||||
private String keyWord;
|
||||
|
||||
/**
|
||||
* 是否包含用户自提
|
||||
*/
|
||||
private Integer hasUserPickUp;
|
||||
|
||||
/**
|
||||
* 是否包含商家配送
|
||||
*/
|
||||
private Integer hasShopDelivery;
|
||||
|
||||
/**
|
||||
* 运费模板id
|
||||
*/
|
||||
private Long transportId;
|
||||
|
||||
/**
|
||||
* 有没发票
|
||||
*/
|
||||
private Integer hasInvoice;
|
||||
|
||||
/**
|
||||
* 是否保修
|
||||
*/
|
||||
private Integer hasGuarantee;
|
||||
|
||||
/**
|
||||
* 商品SEOTitle
|
||||
*/
|
||||
private String metaTitle;
|
||||
|
||||
/**
|
||||
* 商品SEO desc
|
||||
*/
|
||||
private String metaDesc;
|
||||
|
||||
/**
|
||||
* 商品SEO keywords
|
||||
*/
|
||||
private String metaKeywords;
|
||||
|
||||
/**
|
||||
* 录入时间
|
||||
*/
|
||||
private Date recTime;
|
||||
|
||||
/**
|
||||
* 修改时间
|
||||
*/
|
||||
private Date modifyTime;
|
||||
|
||||
/**
|
||||
* 详细描述
|
||||
*/
|
||||
private String content;
|
||||
|
||||
/**
|
||||
* sku列表
|
||||
*/
|
||||
private List<Sku> skuList;
|
||||
|
||||
/**
|
||||
* 商品分类名称
|
||||
*/
|
||||
private String categoryName;
|
||||
|
||||
/* @Schema(description = "运费信息" , required = true)
|
||||
private Transport transport;*/
|
||||
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.dto;
|
||||
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.pxdj.common.json.ImgJsonSerializer;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author LGH
|
||||
*/
|
||||
@Data
|
||||
public class ProductItemDto implements Serializable {
|
||||
|
||||
@Schema(description = "产品名称" ,required=true)
|
||||
private String prodName;
|
||||
|
||||
@Schema(description = "产品个数" ,required=true)
|
||||
private Integer prodCount;
|
||||
|
||||
@Schema(description = "产品图片路径" ,required=true)
|
||||
@JsonSerialize(using = ImgJsonSerializer.class)
|
||||
private String pic;
|
||||
|
||||
@Schema(description = "产品价格" ,required=true)
|
||||
private Double price;
|
||||
|
||||
@Schema(description = "商品实际总金额" ,required=true)
|
||||
private Double productTotalAmount;
|
||||
|
||||
@Schema(description = "商品原价总金额")
|
||||
private Double productOriginalTotalAmount;
|
||||
|
||||
@Schema(description = "产品ID" ,required=true)
|
||||
private Long prodId;
|
||||
|
||||
@Schema(description = "商品类型 0:普通商品 1:积分商品 2:福利商品 3:积分和普通通用商品" )
|
||||
private Integer type;
|
||||
|
||||
@Schema(description = "skuId" ,required=true)
|
||||
private Long skuId;
|
||||
|
||||
@Schema(description = "规格名称" , required = true)
|
||||
private String skuName;
|
||||
|
||||
@Schema(description = "basketId" ,required=true)
|
||||
private Long basketId;
|
||||
|
||||
@Schema(description = "商品实际金额 = 商品总金额 - 分摊的优惠金额" )
|
||||
private Double actualTotal;
|
||||
|
||||
@Schema(description = "满减满折优惠id,0不主动参与活动(用户没有主动参与该活动),-1主动不参与活动" )
|
||||
private Long discountId = 0L;
|
||||
|
||||
@Schema(description = "分摊的优惠金额" )
|
||||
private Double shareReduce;
|
||||
|
||||
@Schema(description = "订单积分" )
|
||||
private Double points;
|
||||
|
||||
@Schema(description = "参与满减活动列表" )
|
||||
private List<DiscountDto> discounts = new ArrayList<>();
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.dto;
|
||||
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.pxdj.common.json.ImgJsonSerializer;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @author lanhai
|
||||
*/
|
||||
@Data
|
||||
@Schema(description = "搜索商品数据")
|
||||
public class SearchProdDto {
|
||||
|
||||
@Schema(description = "商品id" )
|
||||
private Long prodId;
|
||||
|
||||
@Schema(description = "商品照片" )
|
||||
@JsonSerialize(using = ImgJsonSerializer.class)
|
||||
private String pic;
|
||||
|
||||
@Schema(description = "商品名字" )
|
||||
private String prodName;
|
||||
|
||||
@Schema(description = "商品价格" )
|
||||
private Double price;
|
||||
|
||||
@Schema(description = "商品评论数量" )
|
||||
private Integer prodCommNumber;
|
||||
|
||||
@Schema(description = "好评率" )
|
||||
private Double positiveRating;
|
||||
|
||||
@Schema(description = "好评数量" )
|
||||
private Integer praiseNumber;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.dto;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @author lanhai
|
||||
*/
|
||||
@Data
|
||||
@Schema(description = "购物车合计")
|
||||
public class ShopCartAmountDto {
|
||||
|
||||
@Schema(description = "总额" )
|
||||
private Double totalMoney;
|
||||
|
||||
@Schema(description = "总计" )
|
||||
private Double finalMoney;
|
||||
|
||||
@Schema(description = "减额" )
|
||||
private Double subtractMoney;
|
||||
|
||||
@Schema(description = "商品数量" )
|
||||
private Integer count;
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.dto;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author lanhai
|
||||
*/
|
||||
@Data
|
||||
public class ShopCartDto implements Serializable {
|
||||
|
||||
@Schema(description = "店铺ID" , required = true)
|
||||
private Long shopId;
|
||||
|
||||
@Schema(description = "店铺名称" , required = true)
|
||||
private String shopName;
|
||||
|
||||
@Schema(description = "购物车商品" , required = true)
|
||||
private List<ShopCartItemDiscountDto> shopCartItemDiscounts;
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.dto;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author lanhai
|
||||
*/
|
||||
@Data
|
||||
@Schema(description = "购物车失效商品对象")
|
||||
public class ShopCartExpiryItemDto {
|
||||
@Schema(description = "店铺ID" , required = true)
|
||||
private Long shopId;
|
||||
|
||||
@Schema(description = "店铺名称" , required = true)
|
||||
private String shopName;
|
||||
|
||||
@Schema(description = "商品项" , required = true)
|
||||
private List<ShopCartItemDto> shopCartItemDtoList;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.dto;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author lanhai
|
||||
*/
|
||||
@Data
|
||||
public class ShopCartItemDiscountDto implements Serializable {
|
||||
|
||||
|
||||
@Schema(description = "已选满减项" , required = true)
|
||||
private ChooseDiscountItemDto chooseDiscountItemDto;
|
||||
|
||||
@Schema(description = "商品列表" )
|
||||
private List<ShopCartItemDto> shopCartItems;
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.dto;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @author LGH
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
public class ShopCartItemDto extends ProductItemDto implements Serializable {
|
||||
private static final long serialVersionUID = -8284981156242930909L;
|
||||
|
||||
@Schema(description = "购物车ID" , required = true)
|
||||
private Long basketId;
|
||||
|
||||
@Schema(description = "店铺ID" , required = true)
|
||||
private Long shopId;
|
||||
|
||||
@Schema(description = "规格名称" , required = true)
|
||||
private String skuName;
|
||||
|
||||
@Schema(description = "店铺名称" , required = true)
|
||||
private String shopName;
|
||||
|
||||
@Schema(description = "商品原价" , required = true)
|
||||
private Double oriPrice;
|
||||
|
||||
@Schema(description = "推广员使用的推销卡号" )
|
||||
private String distributionCardNo;
|
||||
|
||||
@Schema(description = "加入购物车的时间" )
|
||||
private Date basketDate;
|
||||
}
|
||||
@@ -0,0 +1,70 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
|
||||
*
|
||||
* https://www.mall4j.com/
|
||||
*
|
||||
* 未经允许,不可做商业用途!
|
||||
*
|
||||
* 版权所有,侵权必究!
|
||||
*/
|
||||
|
||||
package com.pxdj.api.dto;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 单个店铺的订单信息
|
||||
* @author lanhai
|
||||
*/
|
||||
@Data
|
||||
public class ShopCartOrderDto implements Serializable{
|
||||
|
||||
@Schema(description = "店铺id" , required = true)
|
||||
private Long shopId;
|
||||
|
||||
@Schema(description = "店铺名称" , required = true)
|
||||
private String shopName;
|
||||
|
||||
@Schema(description = "实际总值" , required = true)
|
||||
private Double actualTotal;
|
||||
|
||||
@Schema(description = "商品总值" , required = true)
|
||||
private Double total;
|
||||
|
||||
@Schema(description = "商品总数" , required = true)
|
||||
private Integer totalCount;
|
||||
|
||||
@Schema(description = "运费" , required = true)
|
||||
private Double transfee;
|
||||
|
||||
@Schema(description = "花费商品积分总数")
|
||||
private Double pointsTotal;
|
||||
|
||||
@Schema(description = "订单类型")
|
||||
private Integer orderType;
|
||||
|
||||
@Schema(description = "促销活动优惠金额" , required = true)
|
||||
private Double discountReduce;
|
||||
|
||||
@Schema(description = "优惠券优惠金额" , required = true)
|
||||
private Double couponReduce;
|
||||
|
||||
@Schema(description = "店铺优惠金额(促销活动 + 优惠券 + 其他)" , required = true)
|
||||
private Double shopReduce = 0.0;
|
||||
|
||||
@Schema(description = "订单备注信息" , required = true)
|
||||
private String remarks;
|
||||
|
||||
@Schema(description = "购物车商品" , required = true)
|
||||
private List<ShopCartItemDiscountDto> shopCartItemDiscounts;
|
||||
|
||||
@Schema(description = "整个店铺可以使用的优惠券列表" , required = true)
|
||||
private List<CouponOrderDto> coupons;
|
||||
|
||||
@Schema(description = "订单编号" , required = true)
|
||||
private String orderNumber;
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user