Commit 08abda6f by ping.wu

删除无用代码

parent 6a7c4904
package cn.freemud.entities.dto; //package cn.freemud.entities.dto;
//
import cn.freemud.entities.dto.order.CreateOrderDto; //import cn.freemud.entities.dto.order.CreateOrderDto;
import lombok.Data; //import lombok.Data;
//
@Data //@Data
public class CreateOrderInfoDto { //public class CreateOrderInfoDto {
//
private CreateOrderDto createOrderDto; // private CreateOrderDto createOrderDto;
//
private StoreResponseDto storeResponseDto; // private StoreResponseDto storeResponseDto;
//
private StoreDeliveryInfoDto storeDeliveryInfoDto; // private StoreDeliveryInfoDto storeDeliveryInfoDto;
//
private UserDeliveryInfoDto userDeliveryInfoDto; // private UserDeliveryInfoDto userDeliveryInfoDto;
//
//
} //}
package cn.freemud.entities.dto.order; //package cn.freemud.entities.dto.order;
//
import cn.freemud.entities.dto.CreateOrderAccountDto; //import cn.freemud.entities.dto.CreateOrderAccountDto;
import cn.freemud.entities.dto.CreateOrderProductDto; //import cn.freemud.entities.dto.CreateOrderProductDto;
import cn.freemud.entities.dto.CreateOrderRequestDto; //import cn.freemud.entities.dto.CreateOrderRequestDto;
import lombok.Data; //import lombok.Data;
import lombok.NoArgsConstructor; //import lombok.NoArgsConstructor;
//
import java.util.List; //import java.util.List;
//
@Data //@Data
public class CreateOrderDemoDto { //public class CreateOrderDemoDto {
//
/** // /**
* 商户ID 必填 // * 商户ID 必填
*/ // */
private String companyId; // private String companyId;
/** // /**
* 门店ID // * 门店ID
*/ // */
private String shopId; // private String shopId;
/** // /**
* 门店名称 // * 门店名称
*/ // */
private String shopName; // private String shopName;
/** // /**
* 用户ID // * 用户ID
*/ // */
private String userId; // private String userId;
/** // /**
* 用户名称 // * 用户名称
*/ // */
private String userName; // private String userName;
/** // /**
* 用户电话 // * 用户电话
*/ // */
private String phone; // private String phone;
/** // /**
* 收货地址 非必填 // * 收货地址 非必填
*/ // */
private String address; // private String address;
/** // /**
* 收货地址经度 非必填 // * 收货地址经度 非必填
*/ // */
private String longitude; // private String longitude;
/** // /**
* 收获地址维度 非必填 // * 收获地址维度 非必填
*/ // */
private String latitude; // private String latitude;
/** // /**
* 订单类型 1 外卖 2.预订单 3.商城 4 自提 // * 订单类型 1 外卖 2.预订单 3.商城 4 自提
*/ // */
private Integer type; // private Integer type;
/** // /**
* 订单状态 // * 订单状态
*/ // */
private Integer status; // private Integer status;
/** // /**
* 支付类型 // * 支付类型
*/ // */
private Integer payType; // private Integer payType;
/** // /**
* 订单来源 // * 订单来源
*/ // */
private String source; // private String source;
/** // /**
* 订单来源名称 // * 订单来源名称
*/ // */
private String sourceName; // private String sourceName;
/** // /**
* 期望送达时间 // * 期望送达时间
*/ // */
private Long gmtExpect; // private Long gmtExpect;
//
/** // /**
* 订单备注 // * 订单备注
*/ // */
private String remark; // private String remark;
//
/** // /**
* 实付金额 // * 实付金额
*/ // */
private Long amount; // private Long amount;
//
/** // /**
* 商品列表 // * 商品列表
*/ // */
List<CreateOrderProductDto> products; // List<CreateOrderProductDto> products;
/** // /**
* 其他结算列表 // * 其他结算列表
*/ // */
List<CreateOrderAccountDto> accounts; // List<CreateOrderAccountDto> accounts;
//
private CreateOrderRequestDto.DeliveryTypeInfo addInfo; // private CreateOrderRequestDto.DeliveryTypeInfo addInfo;
//
@Data // @Data
@NoArgsConstructor // @NoArgsConstructor
public static class DeliveryTypeInfo{ // public static class DeliveryTypeInfo{
/** // /**
* 订单类型,自配送self,第三方配送third // * 订单类型,自配送self,第三方配送third
*/ // */
private String deliveryType; // private String deliveryType;
//
public DeliveryTypeInfo(String deliveryType) { // public DeliveryTypeInfo(String deliveryType) {
this.deliveryType = deliveryType; // this.deliveryType = deliveryType;
} // }
} // }
} //}
package cn.freemud.entities.dto.order; //package cn.freemud.entities.dto.order;
//
import lombok.Builder; //import lombok.Builder;
import lombok.Data; //import lombok.Data;
import lombok.NoArgsConstructor; //import lombok.NoArgsConstructor;
//
import java.util.List; //import java.util.List;
//
@Data //@Data
@Builder //@Builder
public class CreateOrderDto { //public class CreateOrderDto {
//
/** // /**
* 商户ID 必填 // * 商户ID 必填
*/ // */
private String companyId; // private String companyId;
/** // /**
* 门店ID // * 门店ID
*/ // */
private String shopId; // private String shopId;
/** // /**
* 门店名称 // * 门店名称
*/ // */
private String shopName; // private String shopName;
/** // /**
* 用户ID // * 用户ID
*/ // */
private String userId; // private String userId;
/** // /**
* 用户名称 // * 用户名称
*/ // */
private String userName; // private String userName;
/** // /**
* 用户电话 // * 用户电话
*/ // */
private String phone; // private String phone;
/** // /**
* 收货地址 非必填 // * 收货地址 非必填
*/ // */
private String address; // private String address;
/** // /**
* 收货地址经度 非必填 // * 收货地址经度 非必填
*/ // */
private String longitude; // private String longitude;
/** // /**
* 收获地址维度 非必填 // * 收获地址维度 非必填
*/ // */
private String latitude; // private String latitude;
/** // /**
* 订单类型 1 外卖 2.预订单 3.商城 4 自提 // * 订单类型 1 外卖 2.预订单 3.商城 4 自提
*/ // */
private Integer oldOrderType; // private Integer oldOrderType;
/** // /**
* 订单状态 // * 订单状态
*/ // */
private Integer status; // private Integer status;
/** // /**
* 支付类型 // * 支付类型
*/ // */
private Integer oldPayType; // private Integer oldPayType;
/** // /**
* 订单来源 // * 订单来源
*/ // */
private String source; // private String source;
/** // /**
* 订单来源名称 // * 订单来源名称
*/ // */
private String sourceName; // private String sourceName;
/** // /**
* 期望送达时间 // * 期望送达时间
*/ // */
private Long gmtExpect; // private Long gmtExpect;
//
/** // /**
* 订单备注 // * 订单备注
*/ // */
private String remark; // private String remark;
//
/** // /**
* 实付金额 // * 实付金额
*/ // */
private Long amount; // private Long amount;
//
/** // /**
* 吧台桌号 // * 吧台桌号
*/ // */
private String barCounter; // private String barCounter;
//
/** // /**
* form_id 用于金额是0的情况 现在只支持商品券,前端参数 // * form_id 用于金额是0的情况 现在只支持商品券,前端参数
*/ // */
private String formId; // private String formId;
//
private Integer orderClient; // private Integer orderClient;
//
/** // /**
* 商品列表 // * 商品列表
*/ // */
List<CreateOrderProductDto> products; // List<CreateOrderProductDto> products;
/** // /**
* 其他结算列表 // * 其他结算列表
*/ // */
List<CreateOrderAccountDto> accounts; // List<CreateOrderAccountDto> accounts;
//
//
private DeliveryTypeInfo addInfo; // private DeliveryTypeInfo addInfo;
//
public Boolean needPay() { // public Boolean needPay() {
return amount > 0; // return amount > 0;
} // }
//
@Data // @Data
@NoArgsConstructor // @NoArgsConstructor
public static class DeliveryTypeInfo{ // public static class DeliveryTypeInfo{
/** // /**
* 订单类型,自配送self,第三方配送third // * 订单类型,自配送self,第三方配送third
*/ // */
private String deliveryType; // private String deliveryType;
//
public DeliveryTypeInfo(String deliveryType) { // public DeliveryTypeInfo(String deliveryType) {
this.deliveryType = deliveryType; // this.deliveryType = deliveryType;
} // }
} // }
} //}
package cn.freemud.entities.dto.order; //package cn.freemud.entities.dto.order;
//
import cn.freemud.entities.dto.activity.ShareDiscountActivityDto; //import cn.freemud.entities.dto.activity.ShareDiscountActivityDto;
import lombok.Data; //import lombok.Data;
//
@Data //@Data
public class CreateOrderProductDemoDto { //public class CreateOrderProductDemoDto {
//
/** // /**
* 商品 // * 商品
*/ // */
private String productId; // private String productId;
/** // /**
* 商品名称 // * 商品名称
*/ // */
private String productName; // private String productName;
/** // /**
* 商品数量 // * 商品数量
*/ // */
private Integer number; // private Integer number;
/** // /**
* 商品规格 // * 商品规格
*/ // */
private String specification; // private String specification;
/** // /**
* 商品规格名称 // * 商品规格名称
*/ // */
private String specificationName; // private String specificationName;
//
/** // /**
* 商品价格 单价分 // * 商品价格 单价分
*/ // */
private Long price; // private Long price;
/** // /**
* 实际销售价 // * 实际销售价
*/ // */
private Long salePrice; // private Long salePrice;
/** // /**
* 商品图片 // * 商品图片
*/ // */
private String picture; // private String picture;
/** // /**
* 排序 // * 排序
*/ // */
private Integer sequence; // private Integer sequence;
/** // /**
* 商户序号 // * 商户序号
*/ // */
private Integer opid; // private Integer opid;
/** // /**
* 属性 温|半糖|甜 // * 属性 温|半糖|甜
*/ // */
private String addInfo; // private String addInfo;
/** // /**
* 是否包含商品券 // * 是否包含商品券
*/ // */
private Boolean hasProductCoupon = false; // private Boolean hasProductCoupon = false;
/** // /**
* 均摊详情 // * 均摊详情
*/ // */
ShareDiscountActivityDto.ApportionGood apportionGood; // ShareDiscountActivityDto.ApportionGood apportionGood;
//
/** // /**
* 商品所属菜单分类id // * 商品所属菜单分类id
*/ // */
private String categoryId; // private String categoryId;
/** // /**
* 商品所属菜单分类名称 // * 商品所属菜单分类名称
*/ // */
private String categoryName; // private String categoryName;
//
//
} //}
package cn.freemud.entities.dto.order; //package cn.freemud.entities.dto.order;
//
import lombok.Data; //import lombok.Data;
//
/** ///**
* 订单结算明细 包含所有其他优惠信息 // * 订单结算明细 包含所有其他优惠信息
*/ // */
@Data //@Data
public class OrderAccountDto { //public class OrderAccountDto {
/** // /**
* 订单id // * 订单id
*/ // */
private String orderId; // private String orderId;
/** // /**
* 活动id // * 活动id
*/ // */
private String accountId; // private String accountId;
/** // /**
* 活动名称 // * 活动名称
*/ // */
private String name; // private String name;
/** // /**
* 活动类型 ActivityTypeEnum // * 活动类型 ActivityTypeEnum
*/ // */
private Integer type; // private Integer type;
/** // /**
* 结算价格 包装费,配送费为正数 ,优惠券,限时特价,满减为负数 // * 结算价格 包装费,配送费为正数 ,优惠券,限时特价,满减为负数
*/ // */
private Long price; // private Long price;
/** // /**
* 排序 // * 排序
*/ // */
private Integer sequence; // private Integer sequence;
/** // /**
* 自定义字段 // * 自定义字段
*/ // */
private String addInfo; // private String addInfo;
} //}
package cn.freemud.entities.dto.order; //package cn.freemud.entities.dto.order;
//
import lombok.Data; //import lombok.Data;
//
/** ///**
* All rights Reserved, Designed By www.freemud.cn // * All rights Reserved, Designed By www.freemud.cn
* // *
* @version V1.0 // * @version V1.0
* @Title: FacePayRequestDto // * @Title: FacePayRequestDto
* @Package cn.freemud.entities.dto.order // * @Package cn.freemud.entities.dto.order
* @Description: // * @Description:
* @author: ping1.wu // * @author: ping1.wu
* @date: 2019/12/25 19:28 // * @date: 2019/12/25 19:28
* @Copyright: 2019 www.freemud.cn Inc. All rights reserved. // * @Copyright: 2019 www.freemud.cn Inc. All rights reserved.
* 注意:本内容仅限于上海非码科技内部传阅,禁止外泄以及用于其他的商业目 // * 注意:本内容仅限于上海非码科技内部传阅,禁止外泄以及用于其他的商业目
*/ // */
@Data //@Data
public class RefundQueryRequestDto { //public class RefundQueryRequestDto {
//
private String partnerId; // private String partnerId;
private String storeId; // private String storeId;
private String frontTransId; // private String frontTransId;
private String stationId; // private String stationId;
private String operatorId; // private String operatorId;
private String transId; // private String transId;
private String clientCode; // private String clientCode;
} //}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment