更改目录结构
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
package cn.ysk.cashier.vo;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author lyf
|
||||
*/
|
||||
@Data
|
||||
public class AddProduct {
|
||||
List<String> ids;
|
||||
|
||||
Integer groupId;
|
||||
|
||||
String key;
|
||||
|
||||
String userName;
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
package cn.ysk.cashier.vo;
|
||||
|
||||
import com.alibaba.fastjson.JSONArray;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @author lyf
|
||||
*/
|
||||
@Data
|
||||
public class ProductStockOperateVO {
|
||||
|
||||
private Integer id;
|
||||
|
||||
private String shopId;
|
||||
|
||||
private JSONArray stockSnap;
|
||||
|
||||
private String type;
|
||||
|
||||
private Integer subType;
|
||||
|
||||
private String batchNumber;
|
||||
|
||||
private String remark;
|
||||
|
||||
private Long stockTime;
|
||||
|
||||
private Map<String,Object> operatorSnap;
|
||||
|
||||
private Long createdAt;
|
||||
|
||||
private Long updatedAt;
|
||||
|
||||
private String purveyorId;
|
||||
|
||||
private String purveyorName;
|
||||
|
||||
private String status;
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
package cn.ysk.cashier.vo;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.math.BigInteger;
|
||||
|
||||
/**
|
||||
* @author lyf
|
||||
*/
|
||||
@Data
|
||||
public class PurveyorTransactVO {
|
||||
/**
|
||||
* 上笔进货日期
|
||||
*/
|
||||
private BigInteger lastTransactAt;
|
||||
/**
|
||||
* 供货商id
|
||||
*/
|
||||
private Integer purveyorId;
|
||||
/**
|
||||
* 供货商名称
|
||||
*/
|
||||
private String purveyorName;
|
||||
/**
|
||||
* 剩余付款金额
|
||||
*/
|
||||
private BigDecimal waitAmount;
|
||||
/**
|
||||
*待付款笔数
|
||||
*/
|
||||
private BigInteger waitCount;
|
||||
/**
|
||||
* 0.待支付 1.已完结
|
||||
*/
|
||||
private Integer type;
|
||||
}
|
||||
@@ -0,0 +1,116 @@
|
||||
/*
|
||||
* Copyright 2019-2020 Zheng Jie
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package cn.ysk.cashier.vo;
|
||||
|
||||
import lombok.Data;
|
||||
import cn.ysk.cashier.pojo.order.TbCashierCart;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.List;
|
||||
|
||||
|
||||
@Data
|
||||
public class TbOrderInfoVo {
|
||||
|
||||
|
||||
private Integer id;
|
||||
|
||||
private String orderNo;
|
||||
|
||||
private BigDecimal settlementAmount;
|
||||
|
||||
private BigDecimal packFee;
|
||||
|
||||
private BigDecimal originAmount;
|
||||
|
||||
private BigDecimal productAmount;
|
||||
|
||||
private BigDecimal amount;
|
||||
|
||||
private BigDecimal refundAmount;
|
||||
|
||||
private BigDecimal payAmount;
|
||||
|
||||
private BigDecimal freightAmount;
|
||||
|
||||
private BigDecimal discountAmount;
|
||||
|
||||
private String tableId;
|
||||
|
||||
private BigDecimal smallChange;
|
||||
|
||||
private String sendType;
|
||||
|
||||
private String orderType;
|
||||
|
||||
private String productType;
|
||||
|
||||
private String status;
|
||||
|
||||
private String billingId;
|
||||
|
||||
private String merchantId;
|
||||
|
||||
private String shopId;
|
||||
|
||||
private Integer isVip;
|
||||
|
||||
private String memberId;
|
||||
|
||||
private String userId;
|
||||
|
||||
private Integer productScore;
|
||||
|
||||
private Integer deductScore;
|
||||
|
||||
private String userCouponId;
|
||||
|
||||
private BigDecimal userCouponAmount;
|
||||
|
||||
private String masterId;
|
||||
|
||||
private Integer refundAble;
|
||||
|
||||
private Long paidTime;
|
||||
|
||||
private Integer isEffect;
|
||||
|
||||
private Integer isGroup;
|
||||
|
||||
private Long updatedAt;
|
||||
|
||||
private Long systemTime;
|
||||
|
||||
private Long createdAt;
|
||||
|
||||
private Integer isAccepted;
|
||||
|
||||
private String payType;
|
||||
|
||||
private BigDecimal orderAmount;
|
||||
|
||||
private BigDecimal discountRatio;
|
||||
|
||||
private String payOrderNo;
|
||||
|
||||
private String tradeDay;
|
||||
|
||||
private Integer source;
|
||||
|
||||
private String remark;
|
||||
|
||||
private List<TbCashierCart> cartList;
|
||||
}
|
||||
@@ -0,0 +1,65 @@
|
||||
package cn.ysk.cashier.vo;
|
||||
|
||||
import com.alibaba.fastjson.JSONArray;
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author lyf
|
||||
*/
|
||||
@Data
|
||||
public class TbPrintMachineVO {
|
||||
|
||||
private Integer id;
|
||||
|
||||
/** 设备名称 */
|
||||
private String name;
|
||||
|
||||
/** printer */
|
||||
private String type;
|
||||
|
||||
/** 现在打印机支持USB 和 网络、蓝牙 */
|
||||
private String connectionType;
|
||||
|
||||
/** ip地址 */
|
||||
private String address;
|
||||
|
||||
/** 端口 */
|
||||
private String port;
|
||||
|
||||
/** 打印类型(分类) */
|
||||
private String subType;
|
||||
|
||||
/** 状态 online */
|
||||
private Integer status;
|
||||
|
||||
/** 店铺Id */
|
||||
private String shopId;
|
||||
|
||||
/** 分类Id */
|
||||
private String categoryIds;
|
||||
|
||||
/** 现在打印机支持USB 和 网络两种 */
|
||||
private String contentType;
|
||||
|
||||
/** 主配置 */
|
||||
private JSONObject config;
|
||||
|
||||
private Long createdAt;
|
||||
|
||||
private Long updatedAt;
|
||||
|
||||
/** 分类 */
|
||||
private String categoryList;
|
||||
|
||||
/** 排序 */
|
||||
private Integer sort;
|
||||
|
||||
/** Android打印机需要标识设备ID */
|
||||
private String vendorId;
|
||||
|
||||
/** Android打印机需要标识设备ID */
|
||||
private String productId;
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
package cn.ysk.cashier.vo;
|
||||
|
||||
import com.alibaba.fastjson.JSONArray;
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author lyf
|
||||
*/
|
||||
@Data
|
||||
public class TbProductSpecVo {
|
||||
/** id */
|
||||
private Integer id;
|
||||
|
||||
private String shopId;
|
||||
|
||||
/** 商品属性名称 */
|
||||
private String name;
|
||||
|
||||
/** 规格属性 */
|
||||
private String specTag;
|
||||
|
||||
/** 属性介绍 */
|
||||
private String specTagDetail;
|
||||
|
||||
private JSONArray specList;
|
||||
|
||||
/** 排序 */
|
||||
private Integer sort;
|
||||
|
||||
private Long createdAt;
|
||||
|
||||
private Long updatedAt;
|
||||
}
|
||||
216
eladmin-system/src/main/java/cn/ysk/cashier/vo/TbProductVo.java
Normal file
216
eladmin-system/src/main/java/cn/ysk/cashier/vo/TbProductVo.java
Normal file
@@ -0,0 +1,216 @@
|
||||
package cn.ysk.cashier.vo;
|
||||
|
||||
import com.alibaba.fastjson.JSONArray;
|
||||
import lombok.Data;
|
||||
import cn.ysk.cashier.pojo.product.TbProductSku;
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author lyf
|
||||
*/
|
||||
@Data
|
||||
public class TbProductVo {
|
||||
|
||||
|
||||
private Integer id;
|
||||
|
||||
|
||||
private String sourcePath;
|
||||
|
||||
|
||||
private String merchantId;
|
||||
|
||||
|
||||
private String shopId;
|
||||
|
||||
|
||||
private String name;
|
||||
|
||||
private String type;
|
||||
|
||||
|
||||
private BigDecimal packFee;
|
||||
|
||||
|
||||
private BigDecimal lowPrice;
|
||||
|
||||
|
||||
private String unitId;
|
||||
|
||||
|
||||
private String coverImg;
|
||||
|
||||
@NotNull(message ="缺少商品类信息")
|
||||
private Integer categoryId;
|
||||
|
||||
|
||||
private Integer specId;
|
||||
|
||||
|
||||
private Integer brandId;
|
||||
|
||||
|
||||
private String shortTitle;
|
||||
|
||||
|
||||
private BigDecimal lowMemberPrice;
|
||||
|
||||
|
||||
private String unitSnap;
|
||||
|
||||
|
||||
private String shareImg;
|
||||
|
||||
|
||||
private String images;
|
||||
|
||||
|
||||
private String video;
|
||||
|
||||
|
||||
private String videoCoverImg;
|
||||
|
||||
|
||||
private Integer sort;
|
||||
|
||||
|
||||
private Integer limitNumber;
|
||||
|
||||
|
||||
private Integer productScore;
|
||||
|
||||
|
||||
private Integer status;
|
||||
|
||||
|
||||
private String failMsg;
|
||||
|
||||
|
||||
private Integer isRecommend;
|
||||
|
||||
|
||||
private Integer isHot;
|
||||
|
||||
|
||||
private Integer isNew;
|
||||
|
||||
|
||||
private Integer isOnSale;
|
||||
|
||||
|
||||
private Integer isShow;
|
||||
|
||||
|
||||
private String typeEnum;
|
||||
|
||||
|
||||
private Integer isDistribute;
|
||||
|
||||
|
||||
private Integer isDel;
|
||||
|
||||
|
||||
private Integer isStock;
|
||||
|
||||
|
||||
private Integer isPauseSale;
|
||||
|
||||
|
||||
private Integer isFreeFreight;
|
||||
|
||||
|
||||
private Long freightId;
|
||||
|
||||
|
||||
private String strategyType;
|
||||
|
||||
|
||||
private Integer strategyId;
|
||||
|
||||
|
||||
private Integer isVip;
|
||||
|
||||
|
||||
private Integer isDelete;
|
||||
|
||||
|
||||
private String notice;
|
||||
|
||||
|
||||
private Long createdAt;
|
||||
|
||||
|
||||
private Long updatedAt;
|
||||
|
||||
|
||||
private Double baseSalesNumber;
|
||||
|
||||
|
||||
private Integer realSalesNumber;
|
||||
|
||||
|
||||
private Integer salesNumber;
|
||||
|
||||
private Integer thumbCount;
|
||||
|
||||
|
||||
private Integer storeCount;
|
||||
|
||||
|
||||
private Integer furnishMeal;
|
||||
|
||||
|
||||
private Integer furnishExpress;
|
||||
|
||||
|
||||
private Integer furnishDraw;
|
||||
|
||||
|
||||
private Integer furnishVir;
|
||||
|
||||
|
||||
private Integer isCombo;
|
||||
|
||||
|
||||
private JSONArray groupSnap;
|
||||
|
||||
|
||||
private Integer isShowCash;
|
||||
|
||||
|
||||
private Integer isShowMall;
|
||||
|
||||
|
||||
private Integer isNeedExamine;
|
||||
|
||||
|
||||
private Integer showOnMallStatus;
|
||||
|
||||
|
||||
private Long showOnMallTime;
|
||||
|
||||
private String showOnMallErrorMsg;
|
||||
|
||||
|
||||
private Integer enableLabel;
|
||||
|
||||
private String taxConfigId;
|
||||
|
||||
private String unitName;
|
||||
|
||||
private List<TbProductSku> skuList;
|
||||
|
||||
private HashMap<String,String> specsInfo;
|
||||
|
||||
private String specInfo;
|
||||
|
||||
private String selectSpec;
|
||||
|
||||
private String specTableHeaders;
|
||||
|
||||
private String skuSnap;
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package cn.ysk.cashier.vo;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @author lyf
|
||||
*/
|
||||
public class TbShopCashVo {
|
||||
private Map<String, Object> adList;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user