fangjianjun #2

Merged
ph6vsnc9i merged 20 commits from FangJianJun_branch into develop 1 year ago

@ -0,0 +1 @@
undefined

@ -0,0 +1,75 @@
package com.yami.shop.bean.model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* Basket
* "tz_basket"MyBatis Plus
* Serializable便使
*
* @author lanhai
*/
@Data
@TableName("tz_basket")
public class Basket implements Serializable {
/**
*
* "tz_basket"
*/
@TableId
private Long basketId;
/**
* ID
* ID
*/
private Long shopId;
/**
* ID
* ID
*/
private Long prodId;
/**
* SkuIDStock Keeping Unit
* SkuID
*/
private Long skuId;
/**
* ID
* ID
* ID
*/
private String userId;
/**
*
*
*/
private Integer basketCount;
/**
*
*
*/
private Date basketDate;
/**
* ID
* ID
*/
private Long discountId;
/**
* 广广
*
*/
private String distributionCardNo;
}

@ -0,0 +1,82 @@
/*
* Copyright (c) 2018-2999 广 All rights reserved.
*
* https://www.mall4j.com/
*
*
*
*
*/
package com.yami.shop.bean.app.dto;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.yami.shop.common.serializer.json.ImgJsonSerializer;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* `CategoryDto`DTO
* 使
*
* 便
*
* @author lanhai
*/
@Data
public class CategoryDto {
/**
*
*
* `categoryId`
*
*
* `@Schema` API 使 Swagger
* id`required = true`
* 使
*/
@Schema(description = "分类id", required = true)
private Long categoryId;
/**
* `parentId`
*
*
* `id` `parentId`
*
* `@Schema` API id
* 便
*/
@Schema(description = "分类父id", required = true)
private Long parentId;
/**
* `categoryName`
*
*
* 便
*
* `@Schema` API
*
*/
@Schema(description = "分类名称", required = true)
private String categoryName;
/**
* `pic`
* URL
*
*
*
* 使 `@JsonSerialize(using = ImgJsonSerializer.class)`
* `CategoryDto` JSON
* 使 `ImgJsonSerializer` `pic`
* 使
* 使 `@Schema`
* 便使
*/
@Schema(description = "分类图片", required = true)
@JsonSerialize(using = ImgJsonSerializer.class)
private String pic;
}

@ -0,0 +1,75 @@
/*
* Copyright (c) 2018-2999 广 All rights reserved.
*
* https://www.mall4j.com/
*
*
*
*
*/
package com.yami.shop.bean.app.dto;
import lombok.Data;
import java.io.Serializable;
/**
* `ChooseDiscountItemDto`DTO
*
*
* 便使
*
* @author lanhai
*/
@Data
public class ChooseDiscountItemDto implements Serializable {
/**
*
* `discountItemId`
*
*
*/
private Long discountItemId;
/**
* `discountActivityId`
* ID
*
*
*/
private Long discountActivityId;
/**
* `discountAmount`
*
* 使
*/
private Double discountAmount;
/**
* `isActive`
* `true` `false`
* `true`
* `false`便
*
*/
private boolean isActive;
/**
* `List<Long>`
* ID `applicableProdIds`
*
*
*/
private Object applicableProdIds;
/**
* 使 `remainingUseTimes`
* 使使
* 使3使
* 使使
*/
private Integer remainingUseTimes;
}

@ -0,0 +1,66 @@
/*
* Copyright (c) 2018-2999 广 All rights reserved.
*
* https://www.mall4j.com/
*
*
*
*
*/
package com.yami.shop.bean.app.dto;
import lombok.Data;
import java.io.Serializable;
/**
* `CouponOrderDto`DTO
* 便
* 使
*
* @author lanhai
*/
@Data
public class CouponOrderDto implements Serializable {
/**
*
* `couponId`
* 使
*
*/
private Long couponId;
/**
* `orderId`
* 使使使
* `orderId` 便
* 使使
*/
private Long orderId;
/**
* `discountAmount`
*
*
*
*/
private Double discountAmount;
/**
* 使 `isUsed` `true` 使`false` 使
* 使使
* 使
* 便
*/
private boolean isUsed;
/**
* 使 `remainingUseTimes`
* 使使
* 使使
* 使使
*/
private Integer remainingUseTimes;
}

@ -0,0 +1,110 @@
/*
* Copyright (c) 2018-2999 广 All rights reserved.
*
* https://www.mall4j.com/
*
*
*
*
*/
package com.yami.shop.bean.app.dto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.util.List;
/**
* @author lanhai
*//*
* * Copyright (c) 2018-2999 广 All rights reserved.
* *
* * https://www.mall4j.com/
* *
* *
* *
* *
* */
*
*package com.yami.shop.bean.app.dto;
*
*import io.swagger.v3.oas.annotations.media.Schema;
*import lombok.Data;
*import java.util.List;
*
* /**
* * `DeliveryDto`DTO
* * 便
* * 使
* *
*
* * @author lanhai
* */
*@Data
*
public class DeliveryDto {
*
* /**
* * `companyName`
* *
* * `@Schema` `required = true`
* *
* */
*
@Schema(description = "物流公司名称", required = true)
*
private String companyName;
*
* /**
* * `companyHomeUrl`访
* *
* * 便 `@Schema`
* *
* */
*
@Schema(description = "物流公司官网", required = true)
*
private String companyHomeUrl;
*
* /**
* * `dvyFlowId`
* *
* *
* * `@Schema`
* */
*
@Schema(description = "物流订单号", required = true)
*
private String dvyFlowId;
*
* /**
* * `data` `DeliveryInfoDto`
* *
* * 便
* * `@Schema`
* * 使
* */
*
@Schema(description = "查询出的物流信息", required = true)
*
private List<DeliveryInfoDto> data;
*
}
@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,68 @@
/*
* Copyright (c) 2018-2999 广 All rights reserved.
*
* https://www.mall4j.com/
*
*
*
*
*/
package com.yami.shop.bean.app.dto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* `DeliveryInfoDto`DTO
* 便
*
* @author lanhai
*/
@Data
public class DeliveryInfoDto {
/**
* `context`
*
*
*
*
* `@Schema` `required = true`
* 使
*/
@Schema(description = "详细信息", required = true)
private String context;
/**
* `ftime`
* `yyyy-MM-dd HH:mm:ss`
*
* 便
*
*/
private String ftime;
/**
* `location`线
*
* XXXXXX
*
* `@Schema`
* 便
*/
@Schema(description = "快递所在区域", required = true)
private String location;
/**
* `time` `yyyy-MM-dd HH:mm:ss`
*
*
* 便
* `@Schema`
*
*/
@Schema(description = "物流更新时间", required = true)
private String time;
}

@ -0,0 +1,67 @@
/*
* Copyright (c) 2018-2999 广 All rights reserved.
*
* https://www.mall4j.com/
*
*
*
*
*/
package com.yami.shop.bean.app.dto;
import lombok.Data;
import java.io.Serializable;
/**
* `DiscountDto`DTO
* 便
* 使
*
* @author lanhai
*/
@Data
public class DiscountDto implements Serializable {
/**
*
* `discountId`200508
*
*
*
*/
private Long discountId;
/**
* `orderId`
* 使使使
* `orderId` 便
* 使使
*/
private Long orderId;
/**
* `discountAmount`
*
*
*
*/
private Double discountAmount;
/**
* 使 `isUsed` `true` 使`false` 使
* 使
* 使
* 便
*/
private boolean isUsed;
/**
* 使 `remainingUseTimes`
* 使使
* 使使
* 使使
*/
private Integer remainingUseTimes;
}

@ -0,0 +1,81 @@
/*
* Copyright (c) 2018-2999 广 All rights reserved.
*
* https://www.mall4j.com/
*
*
*
*
*/
package com.yami.shop.bean.app.dto;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.yami.shop.common.serializer.json.ImgJsonSerializer;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.util.Date;
/**
* `IndexImgDto`DTO
* 使
* 便
* ID
* @author lanhai
*/
@Schema(description = "首页图片对象")
@Data
public class IndexImgDto {
/**
* `imgUrl`访
* 使URL
* `imgUrl`
* `@JsonSerialize(using = ImgJsonSerializer.class)` JSON
* 使使
* `@Schema` Url`required = true`
* 便
*/
@JsonSerialize(using = ImgJsonSerializer.class)
@Schema(description = "图片Url", required = true)
private String imgUrl;
/**
* `seq`
* `seq`
*
* `@Schema`
* 便
*/
@Schema(description = "图片顺序", required = true)
private Integer seq;
/**
* `uploadTime` `Date` `yyyy-MM-dd HH:mm:ss`
* 便
* `@Schema`
*
*/
@Schema(description = "上传时间", required = true)
private Date uploadTime;
/**
* `type`
* `1` `2` `3`
*
* 便
* `@Schema` 便
*/
@Schema(description = "类型", required = true)
private int type;
/**
* `relation` `id` `id`
*
* `relation`
* `@Schema` idID便
*/
@Schema(description = "关联id", required = true)
private Long relation;
}

@ -0,0 +1,67 @@
/*
* Copyright (c) 2018-2999 广 All rights reserved.
*
* https://www.mall4j.com/
*
*
*
*
*/
package com.yami.shop.bean.app.dto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.util.List;
/**
* `MyOrderDto`DTO
* 便
* 使便
* @author lanhai
*/
@Data
@Schema(description = "我的订单")
public class MyOrderDto {
/**
* `orderItemDtos` `MyOrderItemDto`
* SKU
* 便
* 退使
* `@Schema` `required = true`
* 便
*/
@Schema(description = "订单项", required = true)
private List<MyOrderItemDto> orderItemDtos;
/**
* `orderNumber`
*
* 退
* `@Schema` 便
*/
@Schema(description = "订单号", required = true)
private String orderNumber;
/**
* `actualTotal` `Double`
* 使
*
* `@Schema`
* 便
*/
@Schema(description = "总价", required = true)
private Double actualTotal;
/**
* `status`
* `0` `1` `2` `3`
*
*
* `@Schema` 便
*/
@Schema(description = "订单状态", required = true)
private Integer status;
}

@ -0,0 +1,76 @@
/*
* Copyright (c) 2018-2999 广 All rights reserved.
*
* https://www.mall4j.com/
*
*
*
*
*/
package com.yami.shop.bean.app.dto;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.yami.shop.common.serializer.json.ImgJsonSerializer;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* `MyOrderItemDto`DTO
* 便
* 使
* @author lanhai
*/
@Schema(description = "我的订单-订单项")
@Data
public class MyOrderItemDto {
/**
* `pic`访
* 使URL
* `pic`
* `@JsonSerialize(using = ImgJsonSerializer.class)` JSON
* 使使
* `@Schema` `required = true`
* 便
*/
@Schema(description = "商品图片", required = true)
@JsonSerialize(using = ImgJsonSerializer.class)
private String pic;
/**
* `prodName`P50
*
* `@Schema`
* 便
*/
@Schema(description = "商品名称", required = true)
private String prodName;
/**
* `prodCount`
* 退
* `@Schema` 便
*/
@Schema(description = "商品数量", required = true)
private Integer prodCount;
/**
* `price` `Double`
*
* `@Schema`
* 便
*/
@Schema(description = "商品价格", required = true)
private Double price;
/**
* `skuName`SKUStock Keeping Unit
* SKU8GB + 256GB +
* SKU便
* `@Schema` skuName便
*/
@Schema(description = "skuName", required = true)
private String skuName;
}

@ -0,0 +1,71 @@
/*
* Copyright (c) 2018-2999 广 All rights reserved.
*
* https://www.mall4j.com/
*
*
*
*
*/
package com.yami.shop.bean.app.dto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.util.Date;
/**
* `NoticeDto`DTO
* 便
* 使便
*
* @author lanhai
*/
@Schema(description = "公告对象")
@Data
public class NoticeDto {
/**
* `id`IDLong
* ID便
* `@Schema` id
* ID
*
*/
@Schema(description = "公告id")
private Long id;
/**
* `shopId`ID
*
* ID
*/
@Schema(description = "店铺id")
private Long shopId;
/**
* `title`
*
*
*/
@Schema(description = "标题")
private String title;
/**
* `content`
*
*
* 便
*/
@Schema(description = "公告内容")
private String content;
/**
* `publishTime` `Date` `yyyy-MM-dd HH:mm:ss`
*
*
*/
@Schema(description = "公告发布时间")
private Date publishTime;
}

@ -0,0 +1,189 @@
package com.yami.shop.bean.app.param;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
/**
* AddrParamapp使
* 便
*
* @author lanhai
*/
@Schema(description = "地址参数")
public class AddrParam {
/**
*
* @Schema required=true
*/
@Schema(description = "地址ID", required = true)
private Long addrId;
/**
* @NotNull
* 使 @Schema
*/
@NotNull(message = "收货人不能为空")
@Schema(description = "收货人", required = true)
private String receiver;
/**
*
* @NotNull @Schema
*/
@NotNull(message = "地址不能为空")
@Schema(description = "地址", required = true)
private String addr;
/**
* required=false @Schema
*/
@Schema(description = "邮编", required = false)
private String postCode;
/**
*
* 使 @NotNull @Schema
*/
@NotNull(message = "手机不能为空")
@Schema(description = "手机", required = true)
private String mobile;
/**
*
* @NotNull @Schema
*/
@NotNull(message = "省ID不能为空")
@Schema(description = "省ID", required = true)
private Long provinceId;
/**
*
* @NotNull @Schema
*/
@NotNull(message = "城市ID不能为空")
@Schema(description = "城市ID", required = true)
private Long cityId;
/**
*
* @NotNull 使 @Schema
*/
@NotNull(message = "区ID不能为空")
@Schema(description = "区ID", required = true)
private Long areaId;
/**
*
* @NotNull @Schema
*/
@NotNull(message = "省不能为空")
@Schema(description = "省", required = true)
private String province;
/**
*
* @NotNull @Schema
*/
@NotNull(message = "城市不能为空")
@Schema(description = "城市", required = true)
private String city;
/**
*
* @NotNull @Schema
*/
@NotNull(message = "区不能为空")
@Schema(description = "区", required = true)
private String area;
// 以下是各个属性的Getter和Setter方法用于获取和设置对应属性的值
public Long getAddrId() {
return addrId;
}
public void setAddrId(Long addrId) {
this.addrId = addrId;
}
public String getReceiver() {
return receiver;
}
public void setReceiver(String receiver) {
this.receiver = receiver;
}
public String getAddr() {
return addr;
}
public void setAddr(String addr) {
this.addr = addr;
}
public String getPostCode() {
return postCode;
}
public void setPostCode(String postCode) {
this.postCode = postCode;
}
public String getMobile() {
return mobile;
}
public void setMobile(String mobile) {
this.mobile = mobile;
}
public Long getProvinceId() {
return provinceId;
}
public void setProvinceId(Long provinceId) {
this.provinceId = provinceId;
}
public Long getCityId() {
return cityId;
}
public void setCityId(Long cityId) {
this.cityId = cityId;
}
public Long getAreaId() {
return areaId;
}
public void setAreaId(Long areaId) {
this.areaId = areaId;
}
public String getProvince() {
return province;
}
public void setProvince(String province) {
this.province = province;
}
public String getCity() {
return city;
}
public void setCity(String city) {
this.city = city;
}
public String getArea() {
return area;
}
public void setArea(String area) {
this.area = area;
}
}

@ -0,0 +1,97 @@
/*
* Copyright (c) 2018-2999 广 All rights reserved.
*
* https://www.mall4j.com/
*
*
*
*
*/
package com.yami.shop.bean.app.param;
import jakarta.validation.constraints.NotNull;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* `ChangeShopCartParam`
* 便
*
* @author LGH
*/
@Data
public class ChangeShopCartParam {
/**
* `basketId`ID
* `basketId`
* ID
*
* `@Schema` API使SwaggerID
* `required = true`
* 便
*/
@Schema(description = "购物车ID", required = true)
private Long basketId;
/**
* `prodId`ID
* `prodId`
* ID
*
* 使 `@NotNull` ID
* ID
* `@Schema` APIID
*/
@NotNull(message = "商品ID不能为空")
@Schema(description = "商品ID", required = true)
private Long prodId;
/**
* `skuId`Stock Keeping UnitSKUID
*
* SKU `skuId`
* 便
* `@NotNull` skuId
* `@Schema` APIskuId便
*/
@NotNull(message = "skuId不能为空")
@Schema(description = "skuId", required = true)
private Long skuId;
/**
* `shopId`ID
*
* `shopId`
*
* `@NotNull` ID
* `@Schema` APIID
*/
@NotNull(message = "店铺ID不能为空")
@Schema(description = "店铺ID", required = true)
private Long shopId;
/**
* `count`
* 12
*
*
* `@NotNull`
* `@Schema` API便
*/
@NotNull(message = "商品个数不能为空")
@Schema(description = "商品个数", required = true)
private Integer count;
/**
* `distributionCardNo`广
* 广
* 广便
* `@Schema` API广
*
*/
@Schema(description = "分销推广人卡号")
private String distributionCardNo;
}

@ -0,0 +1,104 @@
/*
* Copyright (c) 2018-2999 广 All rights reserved.
*
* https://www.mall4j.com/
*
*
*
*
*/
package com.yami.shop.bean.app.param;
import io.swagger.v3.oas.annotations.media.Schema;
/**
* `LoginParam`
* 便
*
* @author lanhai
*/
@Schema(description = "登陆参数")
public class LoginParam {
/**
* `code` `code` `code`
* `code` `code`
* `@Schema` `code`使 `code`
* `required = true` `code`
*
*/
@Schema(description = "小程序登陆时返回的code(使用code登陆必填)", required = true)
private String code;
/**
* `mobile`
* 便
* `@Schema`
* 使
*/
@Schema(description = "登陆时的用户名(账号密码登陆必填)", required = true)
private String mobile;
/**
* `password` `mobile`
*
* `@Schema`
* 使
*/
@Schema(description = "登陆时的密码(账号密码登陆必填)", required = true)
private String password;
/**
* `getCode`JavaBean访Getter `code`
* 访 `code`
* 访
*/
public String getCode() {
return code;
}
/**
* `setCode` `getCode` Setter `code`
* `code`
* JavaBean便
*/
public void setCode(String code) {
this.code = code;
}
/**
* `getMobile` `mobile` Getter `getCode`
* 使便
*/
public String getMobile() {
return mobile;
}
/**
* `setMobile` `getMobile` Setter `mobile`
*
*
*/
public void setMobile(String mobile) {
this.mobile = mobile;
}
/**
* `getPassword` `password` Getter
* 便使
*
*/
public String getPassword() {
return password;
}
/**
* `setPassword` `password` Setter
*
*/
public void setPassword(String password) {
this.password = password;
}
}

@ -0,0 +1,57 @@
/*
* Copyright (c) 2018-2999 广 All rights reserved.
*
* https://www.mall4j.com/
*
*
*
*
*/
package com.yami.shop.bean.dto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.io.Serializable;
/**
* `HotSearchDto`DTO
* 便
* 使便
*
* @author lanhai
*/
@Schema(description = "热搜数据")
@Data
public class HotSearchDto implements Serializable {
/**
* `hotSearchId`IDLong
* ID便
* `@Schema` id
* ID
*
*/
@Schema(description = "热搜id")
private Long hotSearchId;
/**
* `title`
*
* `@Schema`
* 便API使Swagger便使
*/
@Schema(description = "标题")
private String title;
/**
* `content`
*
* 便
* `@Schema` `HotSearchDto`
* 便
*/
@Schema(description = "内容")
private String content;
}

@ -0,0 +1,85 @@
/*
* Copyright (c) 2018-2999 广 All rights reserved.
*
* https://www.mall4j.com/
*
*
*
*
*/
package com.yami.shop.bean.enums;
/**
* AreaLevelEnum 便
* 使
*
* @author cl
*/
public enum AreaLevelEnum {
/**
* FIRST_LEVEL
* 1
*/
FIRST_LEVEL(1),
/**
* SECOND_LEVEL
* 2便
*/
SECOND_LEVEL(2),
/**
* THIRD_LEVEL
* 3
*/
THIRD_LEVEL(3)
;
/**
*
*
*/
private Integer num;
/**
*
* 便使
*
* @return
*/
public Integer value() {
return num;
}
/**
*
*
*
* @param num
*/
AreaLevelEnum(Integer num) {
this.num = num;
}
/**
* AreaLevelEnum
*
* 便
* null
*
* @param value
* @return AreaLevelEnum null
*/
public static AreaLevelEnum instance(Integer value) {
AreaLevelEnum[] enums = values();
for (AreaLevelEnum statusEnum : enums) {
if (statusEnum.value().equals(value)) {
return statusEnum;
}
}
return null;
}
}

@ -0,0 +1,62 @@
/*
* Copyright (c) 2018-2999 广 All rights reserved.
*
* https://www.mall4j.com/
*
*
*
*
*/
package com.yami.shop.bean.enums;
/**
* `MessageStatus`
* 便
* 使
* @author lanhai
*/
public enum MessageStatus {
/**
* `CANCEL` `0`
*
* `CANCEL`
* 便
*/
CANCEL(0),
/**
* `RELEASE` `1`
*
* `RELEASE`
*
*/
RELEASE(1);
/**
* `num`
*
* 使便
*/
private Integer num;
/**
* `value`访 `num`
* `MessageStatus`
* 访
*/
public Integer value() {
return num;
}
/**
* `CANCEL(0)` `RELEASE(1)`
* `num`
* 便 `value`
*/
MessageStatus(Integer num) {
this.num = num;
}
}

@ -0,0 +1,42 @@
/*
* Copyright (c) 2018-2999 广 All rights reserved.
*
* https://www.mall4j.com/
*
*
*
*
*/
// 包声明表明该类所在的包名这里定义在com.yami.shop.bean.event包下
// 按照Java的包结构规范通常用于对相关类进行组织和分类管理方便代码的模块化开发和维护。
package com.yami.shop.bean.event;
// 导入Order类因为在本类中会使用到Order类型的变量通过导入对应的类
// 才能在代码中正确地引用和操作该类型此处表示从com.yami.shop.bean.model包中引入Order类。
import com.yami.shop.bean.model.Order;
// Lombok注解用于自动生成包含所有参数的构造函数
// 这样在创建CancelOrderEvent类的实例时可以方便地通过传入相应参数来初始化对象。
import lombok.AllArgsConstructor;
// Lombok注解用于自动生成类的getter、setter方法以及其他一些常用的方法如toString等
// 减少了手动编写这些重复代码的工作量,提高代码的简洁性和开发效率。
import lombok.Data;
// 类的文档注释,简要描述了该类的作用,即表示取消订单的事件。
// 这种注释有助于其他开发人员快速理解该类在整个业务逻辑中的用途。
/**
*
* @author
*/
// 使用@Data注解让Lombok自动为该类生成相关的方法如getter、setter等。
// 使用@AllArgsConstructor注解让Lombok自动生成包含所有参数的构造函数。
@Data
@AllArgsConstructor
// 定义CancelOrderEvent类用于表示取消订单这一业务事件相关的信息
// 通常在基于事件驱动的架构中,此类可以作为事件对象在不同组件之间传递相关的业务数据。
public class CancelOrderEvent {
// 定义一个私有成员变量order类型为Order用于存储被取消的订单相关的详细信息
// 比如订单编号、下单用户、商品明细、订单金额等内容,方便在事件传递过程中获取和处理订单相关的数据。
private Order order;
}

@ -0,0 +1,62 @@
/*
* Copyright (c) 2018-2999 广 All rights reserved.
*
* https://www.mall4j.com/
*
*
*
*
*/
package com.yami.shop.bean.event;
import com.yami.shop.bean.app.dto.ShopCartDto;
import com.yami.shop.bean.app.dto.ShopCartItemDto;
import com.yami.shop.bean.app.dto.ShopCartOrderDto;
import com.yami.shop.bean.app.dto.ShopCartOrderMergerDto;
import com.yami.shop.bean.app.param.OrderParam;
import lombok.AllArgsConstructor;
import lombok.Data;
import java.util.List;
/**
* `ConfirmOrderEvent`DDD
*
*
* 使
*
* @author LGH
*/
@Data
@AllArgsConstructor
public class ConfirmOrderEvent {
/**
* `shopCartOrderDto`
*
*
* `ShopCartOrderDto` ID
*
* 便
*/
private ShopCartOrderDto shopCartOrderDto;
/**
* `orderParam`
*
*
*
*
*/
private OrderParam orderParam;
/**
* `shopCartItems` `ShopCartItemDto`
* SKU
*
* 便使
*
*/
private List<ShopCartItemDto> shopCartItems;
}

@ -0,0 +1,69 @@
/*
* Copyright (c) 2018-2999 广 All rights reserved.
*
* https://www.mall4j.com/
*
*
*
*
*/
package com.yami.shop.bean.model;
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;
/**
* Area"tz_area"
* 使MyBatis PlusLombok @Data GetterSetter
*
*
* @author lanhai
*/
@Data
@TableName("tz_area") // 表明该实体类对应的数据库表名称为"tz_area"方便MyBatis Plus进行数据库操作时的表关联映射
public class Area implements Serializable {
private static final long serialVersionUID = -6013320537436191451L;
/**
* @TableId
* @Schema required=true
*/
@TableId
@Schema(description = "地区id", required = true)
private Long areaId;
/**
* @Schema
*
*/
@Schema(description = "地区名称", required = true)
private String areaName;
/**
*
* @Schema 便
*/
@Schema(description = "地区上级id", required = true)
private Long parentId;
/**
* 123
* @Schema
*/
@Schema(description = "地区层级", required = true)
private Integer level;
/**
* @TableField(exist=false)
* 使便
*/
@TableField(exist = false)
private List<Area> areas;
}

@ -0,0 +1,84 @@
/*
* Copyright (c) 2018 - 2999 广 All rights reserved.
* 广20182999
*
* https://www.mall4j.com/
*
*
*
* 使
*
*
*
*/
package com.yami.shop.bean.model;
// 声明该类所属的包名,用于在项目的代码组织结构中对类进行分类管理,方便代码的组织、查找以及不同模块间的引用。
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
// 引入MyBatis Plus相关注解和Lombok的Data注解用于简化代码编写以及实现实体类与数据库表的映射等功能。
import java.io.Serializable;
import java.util.Date;
// 引入Java标准库中的接口和类Serializable接口用于标记该类对象可以被序列化方便在网络传输、存储等场景下进行对象状态的保存和恢复Date类用于处理日期相关的数据。
/**
* @author lanhai
* lanhai
*/
@Data
// Lombok的@Data注解它会自动为类生成常用的方法包括所有成员变量的getter和setter方法、toString方法、equals方法以及hashCode方法等极大地减少了手动编写这些重复代码的工作量使代码更加简洁。
@TableName("tz_attach_file")
// MyBatis Plus的@TableName注解用于将当前的实体类与数据库中的具体表进行映射关联这里表明AttachFile类对应数据库中的"tz_attach_file"表,方便后续进行数据库操作时框架能够准确地知道操作的数据来源和目标表。
public class AttachFile implements Serializable {
// 定义一个名为AttachFile的公共类它实现了Serializable接口意味着该类的实例对象能够进行序列化操作比如可以保存到文件、在网络间传输等场景中使用。
@TableId
// MyBatis Plus的@TableId注解用于标识该成员变量对应的是数据库表中的主键字段在数据库操作如查询、更新、删除等主键是用于唯一标识每条记录的关键属性。
private Long fileId;
// 定义一个名为fileId的私有成员变量类型为Long用于存储文件在系统中的唯一标识符通常对应数据库表中主键列的值通过它可以准确地定位和操作某一条具体的文件相关记录。
/**
*
* filePath
*/
private String filePath;
// 定义一个名为filePath的私有成员变量类型为String用于记录文件的存储路径。
/**
*
* fileType"txt""jpg""pdf"PDF便
*/
private String fileType;
// 定义一个名为fileType的私有成员变量类型为String用于存储文件的类型标识。
/**
*
* fileSize使
*/
private Integer fileSize;
// 定义一个名为fileSize的私有成员变量类型为Integer用于存储文件的大小数值通常以字节为单位来衡量。
/**
*
* uploadTime
*/
private Date uploadTime;
// 定义一个名为uploadTime的私有成员变量类型为Date用于保存文件上传的时间信息。
/**
* id
* fileJoinId
*/
private Long fileJoinId;
// 定义一个名为fileJoinId的私有成员变量类型为Long用于记录与文件相关联的其他表的主键值。
/**
* 1 @see FileJoinType
* fileJoinType1FileJoinType@see
*/
private Integer fileJoinType;
// 定义一个名为fileJoinType的私有成员变量类型为Integer用于标识文件关联表的类型信息。
}

@ -0,0 +1,75 @@
package com.yami.shop.bean.model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* Basket
* "tz_basket"MyBatis Plus
* Serializable便使
*
* @author lanhai
*/
@Data
@TableName("tz_basket")
public class Basket implements Serializable {
/**
*
* "tz_basket"
*/
@TableId
private Long basketId;
/**
* ID
* ID
*/
private Long shopId;
/**
* ID
* ID
*/
private Long prodId;
/**
* SkuIDStock Keeping Unit
* SkuID
*/
private Long skuId;
/**
* ID
* ID
* ID
*/
private String userId;
/**
*
*
*/
private Integer basketCount;
/**
*
*
*/
private Date basketDate;
/**
* ID
* ID
*/
private Long discountId;
/**
* 广广
*
*/
private String distributionCardNo;
}

@ -0,0 +1,96 @@
package com.yami.shop.bean.model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* Brand"tz_brand"
* MyBatis Plus@TableName
* Serializable便
*
* @author lanhai
*/
@Data
@TableName("tz_brand")
public class Brand implements Serializable {
/**
*
* "tz_brand"
*
*/
@TableId
private Long brandId;
/**
*
*
*/
private String brandName;
/**
*
* URL
* logo
*/
private String brandPic;
/**
* ID
* ID
* 便
*/
private String userId;
/**
*
* 沿便
*/
private String memo;
/**
*
* 便
*/
private Integer seq;
/**
* 10线
*
* 0使线
*/
private Integer status;
/**
*
*
*/
private String brief;
/**
*
*
*/
private Date recTime;
/**
*
*
*/
private Date updateTime;
/**
*
* 便
*/
private String firstChar;
/**
*
* 使
*/
private String content;
}

@ -0,0 +1,170 @@
/*
* Copyright (c) 2018-2999 广 All rights reserved.
*
* https://www.mall4j.com/
*
*
*
*
*/
// 声明该类所在的包名按照Java的包结构组织方式将相关的类放在同一个包下方便管理和区分不同功能模块的代码
// 这里表示该类属于com.yami.shop.bean.model包。
package com.yami.shop.bean.model;
// 导入MyBatis Plus的注解TableField用于定义实体类中字段与数据库表字段之间的一些额外映射关系
// 比如指定字段是否在数据库表中有对应列等情况。
import com.baomidou.mybatisplus.annotation.TableField;
// 导入MyBatis Plus的注解TableId用于标记实体类中的主键字段使得MyBatis Plus能正确识别与数据库表主键的对应关系。
import com.baomidou.mybatisplus.annotation.TableId;
// 导入MyBatis Plus的注解TableName用于将实体类与数据库中的具体表进行映射表明该实体类对应哪个数据库表。
import com.baomidou.myatisplus.annotation.TableName;
// 导入Jackson的注解JsonSerialize用于指定在将对象转换为JSON格式时对特定字段使用自定义的序列化方式。
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
// 导入自定义的ImgJsonSerializer类它应该是用于处理图片相关字段序列化的类
// 在这里配合@JsonSerialize注解来对特定的图片字段进行定制化的JSON序列化操作。
import com.yami.shop.common.serializer.json.ImgJsonSerializer;
// 导入Lombok的Data注解使用该注解后Lombok会自动为类生成常用的方法比如getter、setter、toString等方法
// 减少了手动编写这些重复代码的工作量,提高代码的简洁性和开发效率。
import lombok.Data;
// 导入Java的相关接口和类用于实现对象的序列化功能Serializable接口以及处理日期相关操作Date类
// 还有用于操作列表数据结构List接口使得该类能更好地满足常见的业务需求比如数据存储、传输等场景。
import java.io.Serializable;
import java.util.Date;
import java.util.List;
/**
* lanhai
* 便
* @author lanhai
*/
// 使用@Data注解让Lombok自动生成类的getter、setter等常用方法简化代码编写。
// 使用@TableName注解将该Category类与数据库中的"tz_category"表进行映射关联,意味着该类的实例可以与数据库表中的记录相互转换操作。
@Data
@TableName("tz_category")
public class Category implements Serializable {
/**
* ID
* "tz_category"
* ID
*/
@TableId
private Long categoryId;
/**
* id
* id
*
*/
private Long shopId;
/**
* ID
* 0L
* 便
*/
private Long parentId = 0L;
/**
*
*
*/
private String categoryName;
/**
*
* URL
* 使
*/
private String icon;
/**
* @JsonSerialize使ImgJsonSerializer
* JSON
* 便
*/
@JsonSerialize(using = ImgJsonSerializer.class)
private String pic;
/**
*
* 便
*
*/
private Integer seq;
/**
* 10线
* 使
* 0使线
*/
private Integer status;
/**
*
*
*/
private Date recTime;
/**
*
* 12便
*/
private Integer grade;
/**
*
*
*
*/
private Date updateTime;
/**
* id使@TableField(exist=false)"tz_category"
* ID便
*/
@TableField(exist=false)
private List<Long> brandIds;
/**
* id使@TableField(exist=false)
* ID
*
*/
@TableField(exist=false)
private List<Long> attributeIds;
/**
* @TableField(exist=false)
* ID便
* 使
*/
@TableField(exist=false)
private List<Brand> brands;
/**
* @TableField(exist=false)
* 便
*
*/
@TableField(exist=false)
private List<ProdProp> prodProps;
/**
* 使@TableField(exist=false)
* 便
*
*/
@TableField(exist=false)
private List<Product> products;
/**
* @TableField(exist=false)
* 便
*
*/
@TableField(exist=false)
private List<Category> categories;
}

@ -0,0 +1,59 @@
/*
* Copyright (c) 2018-2999 广 All rights reserved.
*
* https://www.mall4j.com/
*
*
*
*
*/
package com.yami.shop.bean.app.dto;
import lombok.Data;
import java.io.Serializable;
/**
* DTO
*
* 便
* 使
* 便
*
* @author lanhai
*/
@Data
public class ChooseDiscountItemDto implements Serializable {
// 此处可根据实际业务需求添加相应的属性及对应的注释,以下为示例,可按需调整替换
/**
*
* ID
* 便
*/
private Long discountItemId;
/**
* ID
* ID
* 便
*/
private Long discountActivityId;
/**
*
*
*
*/
private Double discountAmount;
/**
* truefalse
* true
* false
* 便
*/
private boolean isActive;
}

@ -0,0 +1,53 @@
/*
* Copyright (c) 2018-2999 广 All rights reserved.
*
* https://www.mall4j.com/
*
*
*
*
*/
package com.yami.shop.bean.model;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.io.Serializable;
/**
* `CategoryProp`
* 便
*
*
* @author lanhai
*/
@Data
@TableName("tz_category_prop")
public class CategoryProp implements Serializable {
/**
* `id`
* `id`
*
*
*/
@TableId
private Long id;
/**
* `categoryId`ID
* ID
* ID
*
*/
private Long categoryId;
/**
* `propId`ID `tz_prod_prop` `prop_id`
*
* `propId` ID
*
* 便
*/
private Long propId;
}

@ -0,0 +1,73 @@
/*
* Copyright (c) 2018-2999 广 All rights reserved.
*
* https://www.mall4j.com/
*
*
*
*
*/
package com.yami.shop.bean.model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* `Delivery`
* 便
*
* @author lanhai
*/
@Data
@TableName("tz_delivery")
public class Delivery implements Serializable {
/**
* `dvyId`
* `dvyId`
* ID
*
*/
@TableId
private Long dvyId;
/**
* `dvyName`
*
* 便
*/
private String dvyName;
/**
* `companyHomeUrl`访
*
* 使便访
*/
private String companyHomeUrl;
/**
* `recTime`
* `Date` `yyyy-MM-dd HH:mm:ss`
*
*/
private Date recTime;
/**
* `modifyTime` `Date`
*
* 便
*/
private Date modifyTime;
/**
* `queryUrl`
*
*
*/
private String queryUrl;
}

@ -0,0 +1,68 @@
package com.yami.shop.bean.model;
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;
/**
* HotSearch"tz_hot_search"
* MyBatis Plus@TableName
* Serializable便
*
* @author lanhai
*/
@Data
@TableName("tz_hot_search")
public class HotSearch implements Serializable {
/**
*
* "tz_hot_search"
*
*/
@TableId
private Long hotSearchId;
/**
* id
* id
*
*/
private Long shopId;
/**
*
* 便
*/
private String title;
/**
*
*
*/
private String content;
/**
*
*
* @DateTimeFormat"yyyy-MM-dd HH:mm:ss"便
*/
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date recDate;
/**
*
* 使
*/
private Integer seq;
/**
* 10线
*
* 0使线
*/
private Integer status;
}

@ -0,0 +1,129 @@
/*
* Copyright (c) 2018-2999 广 All rights reserved.
*
* https://www.mall4j.com/
*
*
*
*
*/
package com.yami.shop.bean.model;
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.yami.shop.common.serializer.json.ImgJsonSerializer;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* `IndexImg`
* 便
*
* @author lanhai
*/
@Data
@TableName("tz_index_img")
public class IndexImg implements Serializable {
private static final long serialVersionUID = -3468251351681518798L;
/**
* `imgId`
* `imgId`
* ID
*
*/
@TableId
private Long imgId;
/**
* `shopId`ID
*
* ID
*/
private Long shopId;
/**
* `imgUrl`访
* 使URL
*
*/
private String imgUrl;
/**
* `des`
*
*
*/
private String des;
/**
* `title`
*
*
*/
private String title;
/**
* `link`
*
*
*/
private String link;
/**
* `status` `0`
* `1` 便
*
*/
private Integer status;
/**
* `seq`
* `seq`
*
*/
private Integer seq;
/**
* `uploadTime` `Date` `yyyy-MM-dd HH:mm:ss`
*
*/
private Date uploadTime;
/**
* `type` `1` `2`
* `3`
* 便
*/
private int type;
/**
* `relation` `id` `id`
*
* 便
*/
private Long relation;
/**
* `pic` `@TableField(exist = false)`
* 使 `@JsonSerialize(using = ImgJsonSerializer.class)`
* JSON使
* 使便
*/
@TableField(exist = false)
@JsonSerialize(using = ImgJsonSerializer.class)
private String pic;
/**
* `prodName` `@TableField(exist = false)`
*
*
*/
@TableField(exist = false)
private String prodName;
}

@ -0,0 +1,104 @@
/*
* Copyright (c) 2018-2999 广 All rights reserved.
*
* https://www.mall4j.com/
*
*
*
*
*/
package com.yami.shop.bean.app.param;
import io.swagger.v3.oas.annotations.media.Schema;
/**
* `LoginParam`
* 便
*
* @author lanhai
*/
@Schema(description = "登陆参数")
public class LoginParam {
/**
* `code` `code` `code`
* `code` `code`
* `@Schema` `code`使 `code`
* `required = true` `code`
*
*/
@Schema(description = "小程序登陆时返回的code(使用code登陆必填)", required = true)
private String code;
/**
* `mobile`
* 便
* `@Schema`
* 使
*/
@Schema(description = "登陆时的用户名(账号密码登陆必填)", required = true)
private String mobile;
/**
* `password` `mobile`
*
* `@Schema`
* 使
*/
@Schema(description = "登陆时的密码(账号密码登陆必填)", required = true)
private String password;
/**
* `getCode`JavaBean访Getter `code`
* 访 `code`
* 访
*/
public String getCode() {
return code;
}
/**
* `setCode` `getCode` Setter `code`
* `code`
* JavaBean便
*/
public void setCode(String code) {
this.code = code;
}
/**
* `getMobile` `mobile` Getter `getCode`
* 使便
*/
public String getMobile() {
return mobile;
}
/**
* `setMobile` `getMobile` Setter `mobile`
*
*
*/
public void setMobile(String mobile) {
this.mobile = mobile;
}
/**
* `getPassword` `password` Getter
* 便使
*
*/
public String getPassword() {
return password;
}
/**
* `setPassword` `password` Setter
*
*/
public void setPassword(String password) {
this.password = password;
}
}

@ -0,0 +1,76 @@
/*
* Copyright (c) 2018-2999 广 All rights reserved.
*
* https://www.mall4j.com/
*
*
*
*
*/
package com.yami.shop.bean.model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
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;
}

@ -0,0 +1,217 @@
package com.yami.shop.bean.model;
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;
import java.util.List;
/**
* @author lanhai
* @description Order
* 便便
*/
@Data
// 使用@TableName注解指定该实体类对应的数据库表名为"tz_order"用于MyBatis Plus框架建立实体与表的映射关系
@TableName("tz_order")
public class Order implements Serializable {
private static final long serialVersionUID = 6222259729062826852L;
/**
* @description ID使@TableId"tz_order"
*/
@TableId
private Long orderId;
/**
* @description idid
*/
private Long shopId;
/**
* @description
*
*/
private String prodName;
/**
* @description ID
* 便
*/
private String userId;
/**
* @description
*
*/
private String orderNumber;
/**
* @description
*/
private Double total;
/**
* @description
*
*/
private Double actualTotal;
/**
* @description 1 2
* 便退
*/
private Integer payType;
/**
* @description
* 便
*/
private String remarks;
/**
* @description
* - -1
* - 0
* - 1
* - 2
* - 3
*
*/
private Integer status;
/**
* @description
* 便
*/
private String dvyType;
/**
* @description ID
*
*/
private Long dvyId;
/**
* @description
* 便
*/
private String dvyFlowId;
/**
* @description
*
*/
private Double freightAmount;
/**
* @description Id
*
*/
private Long addrOrderId;
/**
* @description 便
*
*/
private Integer productNums;
/**
* @description 使@DateTimeFormat"yyyy-MM-dd HH:mm:ss"
*
*/
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date createTime;
/**
* @description 使@DateTimeFormat
* 便
*/
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date updateTime;
/**
* @description 使@DateTimeFormat
* 退
*/
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date payTime;
/**
* @description 使@DateTimeFormat
*
*/
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date dvyTime;
/**
* @description 使@DateTimeFormat
*
*/
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date finallyTime;
/**
* @description 使@DateTimeFormat
*
*/
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date cancelTime;
/**
* @description 10
* 退
*/
private Integer isPayed;
/**
* @description
* - 0
* - 1
* - 2
* 便
*/
private Integer deleteStatus;
/**
* @description 退退
* - 0退
* - 1退退
* - 2退便退
*/
private Integer refundSts;
/**
* @description
*
*/
private Double reduceAmount;
/**
* @description 使@TableField(exist = false)"tz_order"
*
* 便
*/
@TableField(exist = false)
private String shopName;
/**
* @description 使@TableField(exist = false)
* OrderItemID
* 便
*/
@TableField(exist = false)
private List<OrderItem> orderItems;
/**
* @description 使@TableField(exist = false)
* UserAddrOrder
* 便
*/
@TableField(exist = false)
private UserAddrOrder userAddrOrder;
}

@ -0,0 +1,54 @@
/*
* Copyright (c) 2018-2999 广 All rights reserved.
*
* https://www.mall4j.com/
*
*
*
*
*/
package com.yami.shop.bean.order;
/**
* `ConfirmOrderOrder`
*
*
*
* @author LGH
*/
public interface ConfirmOrderOrder {
/**
* `DEFAULT`0
*
*
*
*/
int DEFAULT = 0;
/**
* `DISCOUNT`100 `DEFAULT`
*
* `DEFAULT`
*
*/
int DISCOUNT = 100;
/**
* `COUPON`200 `DISCOUNT`
* 使
* `DISCOUNT`
* 使
*/
int COUPON = 200;
/**
* `DISTRIBUTION`300 `COUPON`
*
* `COUPON`
*
*/
int DISTRIBUTION = 300;
}

@ -0,0 +1,129 @@
/*
* Copyright (c) 2018-2999 广 All rights reserved.
*
* https://www.mall4j.com/
*
*
*
*
*/
package com.yami.shop.bean.param;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
/**
* `DeliveryOrderParam`
* 便
*
* @author lanhai
*/
public class DeliveryOrderParam {
/**
* `orderNumber`
*
*
*
*
* 使 `@NotBlank`
*
* `@Schema` API 使 Swagger
* `required = true`
*
*/
@NotBlank(message = "订单号不能为空")
@Schema(description = "订单号", required = true)
private String orderNumber;
/**
* `dvyId` ID `Long`
* ID
* ID
* `dvyId`
*
* `@NotBlank` id
* ID `@Schema` API
* 便
*
*/
@NotBlank(message = "快递公司id不能为空")
@Schema(description = "快递公司", required = true)
private Long dvyId;
/**
* `dvyFlowId`
*
*
*
* 使 `@NotBlank`
* `@Schema` API
*
*/
@NotBlank(message = "物流单号不能为空")
@Schema(description = "物流单号", required = true)
private String dvyFlowId;
/**
* `getDvyId` JavaBean 访Getter `dvyId`
* `DeliveryOrderParam` ID
* 访
* 访使
*/
public Long getDvyId() {
return dvyId;
}
/**
* `setDvyId` `getDvyId` Setter `dvyId`
* ID
* `Long` `dvyId`
* ID ID
* ID
*/
public void setDvyId(Long dvyId) {
this.dvyId = dvyId;
}
/**
* `getDvyFlowId` Getter `dvyFlowId`
*
* JavaBean 使访便使
*/
public String getDvyFlowId() {
return dvyFlowId;
}
/**
* `setDvyFlowId` `getDvyFlowId` Setter `dvyFlowId`
*
* `DeliveryOrderParam`
*
*
*/
public void setDvyFlowId(String dvyFlowId) {
this.dvyFlowId = dvyFlowId;
}
/**
* `getOrderNumber` `orderNumber` Getter Getter
*
*
* JavaBean 使访
*/
public String getOrderNumber() {
return orderNumber;
}
/**
* `setOrderNumber` `getOrderNumber` Setter `orderNumber`
*
*
*
*/
public void setOrderNumber(String orderNumber) {
this.orderNumber = orderNumber;
}
}
Loading…
Cancel
Save