更改目录结构
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
/*
|
||||
* 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.dto;
|
||||
|
||||
import lombok.Data;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @website https://eladmin.vip
|
||||
* @description /
|
||||
* @author admin
|
||||
* @date 2023-10-31
|
||||
**/
|
||||
@Data
|
||||
public class BotButtonConfigDto implements Serializable {
|
||||
|
||||
private Integer id;
|
||||
|
||||
/** 按钮名称 */
|
||||
private String buttonName;
|
||||
|
||||
/** 按钮值 */
|
||||
private String buttonValue;
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* 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.dto;
|
||||
|
||||
import lombok.Data;
|
||||
import cn.ysk.cashier.annotation.Query;
|
||||
|
||||
/**
|
||||
* @website https://eladmin.vip
|
||||
* @author admin
|
||||
* @date 2023-10-31
|
||||
**/
|
||||
@Data
|
||||
public class BotButtonConfigQueryCriteria{
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private String buttonName;
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
/*
|
||||
* 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.dto;
|
||||
|
||||
import lombok.Data;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @website https://eladmin.vip
|
||||
* @description /
|
||||
* @author admin
|
||||
* @date 2023-10-31
|
||||
**/
|
||||
@Data
|
||||
public class BotConfigDto implements Serializable {
|
||||
|
||||
private Integer id;
|
||||
|
||||
/** 元素键值 */
|
||||
private String configKey;
|
||||
|
||||
/** 元素值 */
|
||||
private String configValue;
|
||||
|
||||
/** 描述 */
|
||||
private String remark;
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
/*
|
||||
* 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.dto;
|
||||
|
||||
import lombok.Data;
|
||||
import cn.ysk.cashier.annotation.Query;
|
||||
|
||||
/**
|
||||
* @website https://eladmin.vip
|
||||
* @author admin
|
||||
* @date 2023-10-31
|
||||
**/
|
||||
@Data
|
||||
public class BotConfigQueryCriteria{
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private String configKey;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private String configValue;
|
||||
}
|
||||
@@ -0,0 +1,87 @@
|
||||
/*
|
||||
* 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.dto;
|
||||
|
||||
import lombok.Data;
|
||||
import java.sql.Timestamp;
|
||||
import java.math.BigDecimal;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @website https://eladmin.vip
|
||||
* @description /
|
||||
* @author admin
|
||||
* @date 2023-10-30
|
||||
**/
|
||||
@Data
|
||||
public class BotUserDto implements Serializable {
|
||||
|
||||
private Integer id;
|
||||
|
||||
private Integer fatherId;
|
||||
|
||||
/** 父级电报号 */
|
||||
private String fatherTelegramId;
|
||||
|
||||
/** 电报号 */
|
||||
private String userTelegramId;
|
||||
|
||||
/** 用户名称 */
|
||||
private String userName;
|
||||
|
||||
/** 组电报号 */
|
||||
private String groupTelegramId;
|
||||
|
||||
/** 用户代码 */
|
||||
private String userCode;
|
||||
|
||||
private String userPayPass;
|
||||
|
||||
private String bombStatus;
|
||||
|
||||
/** 用户状态 */
|
||||
private String botStatus;
|
||||
|
||||
/** 总充值 */
|
||||
private BigDecimal usdtRechargeTotal;
|
||||
|
||||
/** 总提现 */
|
||||
private BigDecimal usdtWithdrawTotal;
|
||||
|
||||
/** 总资金 */
|
||||
private BigDecimal balance;
|
||||
|
||||
/** 冻结资金 */
|
||||
private BigDecimal freezeBalance;
|
||||
|
||||
/** 版本号 */
|
||||
private Integer version;
|
||||
|
||||
/** 创建时间 */
|
||||
private Timestamp createTime;
|
||||
|
||||
/** 更新时间 */
|
||||
private Timestamp updateTime;
|
||||
|
||||
/** 语言 */
|
||||
private String userLanguage;
|
||||
|
||||
/** 质押资金 */
|
||||
private BigDecimal chipBalance;
|
||||
|
||||
/** 绑定时间 */
|
||||
private Timestamp fatherBindTime;
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* 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.dto;
|
||||
|
||||
import lombok.Data;
|
||||
import java.sql.Timestamp;
|
||||
import java.math.BigDecimal;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @website https://eladmin.vip
|
||||
* @description /
|
||||
* @author admin
|
||||
* @date 2023-10-30
|
||||
**/
|
||||
@Data
|
||||
public class BotUserFlowDto implements Serializable {
|
||||
|
||||
private Integer id;
|
||||
|
||||
/** 电报号 */
|
||||
private String userTelegramId;
|
||||
|
||||
/** 用户名称 */
|
||||
private String userName;
|
||||
|
||||
/** 业务代码 */
|
||||
private String bizCode;
|
||||
|
||||
/** 变动金额 */
|
||||
private BigDecimal amount;
|
||||
|
||||
/** 变动前金额 */
|
||||
private BigDecimal oldBalance;
|
||||
|
||||
/** 变动后金额 */
|
||||
private BigDecimal newBalance;
|
||||
|
||||
/** 创建时间 */
|
||||
private Timestamp createTime;
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
/*
|
||||
* 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.dto;
|
||||
|
||||
import lombok.Data;
|
||||
import cn.ysk.cashier.annotation.Query;
|
||||
|
||||
/**
|
||||
* @website https://eladmin.vip
|
||||
* @author admin
|
||||
* @date 2023-10-30
|
||||
**/
|
||||
@Data
|
||||
public class BotUserFlowQueryCriteria{
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private String userTelegramId;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private String userName;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private String bizCode;
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* 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.dto;
|
||||
|
||||
import lombok.Data;
|
||||
import cn.ysk.cashier.annotation.Query;
|
||||
|
||||
/**
|
||||
* @website https://eladmin.vip
|
||||
* @author admin
|
||||
* @date 2023-10-30
|
||||
**/
|
||||
@Data
|
||||
public class BotUserQueryCriteria{
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private String fatherTelegramId;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private String userTelegramId;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private String userName;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private String userCode;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private String botStatus;
|
||||
}
|
||||
@@ -0,0 +1,70 @@
|
||||
/*
|
||||
* 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.dto;
|
||||
|
||||
import lombok.Data;
|
||||
import java.math.BigDecimal;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @website https://eladmin.vip
|
||||
* @description /
|
||||
* @author lyf
|
||||
* @date 2023-11-07
|
||||
**/
|
||||
@Data
|
||||
public class TbRenewalsPayLogDto implements Serializable {
|
||||
|
||||
/** id */
|
||||
private Integer id;
|
||||
|
||||
/** 支付方式 */
|
||||
private String payType;
|
||||
|
||||
/** 店铺Id */
|
||||
private String shopId;
|
||||
|
||||
/** 订单Id */
|
||||
private String orderId;
|
||||
|
||||
private String openId;
|
||||
|
||||
/** 用户Id */
|
||||
private String userId;
|
||||
|
||||
/** 交易单号(第三方交易单号) */
|
||||
private String transactionId;
|
||||
|
||||
/** 金额 */
|
||||
private BigDecimal amount;
|
||||
|
||||
/** 状态 */
|
||||
private Integer status;
|
||||
|
||||
/** 备注 */
|
||||
private String remark;
|
||||
|
||||
/** 用户自定义参数 */
|
||||
private String attach;
|
||||
|
||||
/** 到期时间 */
|
||||
private Long expiredAt;
|
||||
|
||||
/** 创建时间 */
|
||||
private Long createdAt;
|
||||
|
||||
private Long updatedAt;
|
||||
}
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* 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.dto;
|
||||
|
||||
import lombok.Data;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
import cn.ysk.cashier.annotation.Query;
|
||||
|
||||
/**
|
||||
* @website https://eladmin.vip
|
||||
* @author lyf
|
||||
* @date 2023-11-07
|
||||
**/
|
||||
@Data
|
||||
public class TbRenewalsPayLogQueryCriteria{
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private Integer id;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private String payType;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private String shopId;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private String transactionId;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private BigDecimal amount;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private Integer status;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private String remark;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private Long expiredAt;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private Long createdAt;
|
||||
}
|
||||
@@ -0,0 +1,70 @@
|
||||
/*
|
||||
* 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.dto;
|
||||
|
||||
import lombok.Data;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @website https://eladmin.vip
|
||||
* @description /
|
||||
* @author lyf
|
||||
* @date 2023-11-03
|
||||
**/
|
||||
@Data
|
||||
public class TbShopPayTypeDto implements Serializable {
|
||||
|
||||
/** 自增id */
|
||||
private Integer id;
|
||||
|
||||
/** 支付类型cash,alipay,weixin,deposit,arrears,virtual,member-account */
|
||||
private String payType;
|
||||
|
||||
/** 支付类型名称支付类型名称:现金,支付宝,刷卡deposit,挂单arrears,储值member-account自定义virtual */
|
||||
private String payName;
|
||||
|
||||
/** 是否快捷展示1是0否 */
|
||||
private Integer isShowShortcut;
|
||||
|
||||
/** 店铺id */
|
||||
private String shopId;
|
||||
|
||||
/** 0允许退款 1-不允许退款 */
|
||||
private Integer isRefundable;
|
||||
|
||||
/** 是否打开钱箱 */
|
||||
private Integer isOpenCashDrawer;
|
||||
|
||||
/** 0不是 1是 [系统级支付] */
|
||||
private Integer isSystem;
|
||||
|
||||
/** 0-非虚拟 1虚拟 virtual */
|
||||
private Integer isIdeal;
|
||||
|
||||
/** 0-不显示1显示 */
|
||||
private Integer isDisplay;
|
||||
|
||||
private Long createdAt;
|
||||
|
||||
private Long updatedAt;
|
||||
|
||||
/** 排序 */
|
||||
private Integer sorts;
|
||||
/**
|
||||
* 图标
|
||||
*/
|
||||
private String icon;
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* 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.dto;
|
||||
|
||||
import lombok.Data;
|
||||
import cn.ysk.cashier.annotation.Query;
|
||||
|
||||
/**
|
||||
* @website https://eladmin.vip
|
||||
* @author lyf
|
||||
* @date 2023-11-03
|
||||
**/
|
||||
@Data
|
||||
public class TbShopPayTypeQueryCriteria{
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private Integer id;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private String payType;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private String payName;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private Integer isShowShortcut;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private String shopId;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private Integer isOpenCashDrawer;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private Long createdAt;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private Integer sorts;
|
||||
}
|
||||
@@ -0,0 +1,156 @@
|
||||
/*
|
||||
* 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.dto;
|
||||
|
||||
import lombok.Data;
|
||||
import java.math.BigDecimal;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @website https://eladmin.vip
|
||||
* @description /
|
||||
* @author lyf
|
||||
* @date 2023-11-13
|
||||
**/
|
||||
@Data
|
||||
public class TbUserInfoDto implements Serializable {
|
||||
|
||||
/** id */
|
||||
private Integer id;
|
||||
|
||||
/** 钱包余额 */
|
||||
private BigDecimal amount;
|
||||
|
||||
/** 累计充值 */
|
||||
private BigDecimal chargeAmount;
|
||||
|
||||
/** 授信额度 */
|
||||
private BigDecimal lineOfCredit;
|
||||
|
||||
private BigDecimal consumeAmount;
|
||||
|
||||
/** 消费次数累计 */
|
||||
private Integer consumeNumber;
|
||||
|
||||
/** 总积分 */
|
||||
private Integer totalScore;
|
||||
|
||||
/** 锁定积分 */
|
||||
private Integer lockScore;
|
||||
|
||||
/** 会员卡号 */
|
||||
private String cardNo;
|
||||
|
||||
/** 会员密码 */
|
||||
private String cardPassword;
|
||||
|
||||
/** 等级 */
|
||||
private String levelId;
|
||||
|
||||
/** 用户头像 */
|
||||
private String headImg;
|
||||
|
||||
/** 用户昵称 */
|
||||
private String nickName;
|
||||
|
||||
/** 电话号码 */
|
||||
private String telephone;
|
||||
|
||||
/** 小程序Id */
|
||||
private String wxMaAppId;
|
||||
|
||||
/** 会员生日 */
|
||||
private String birthDay;
|
||||
|
||||
/** 0-女 1男 */
|
||||
private Integer sex;
|
||||
|
||||
/** 小程序的openId */
|
||||
private String miniAppOpenId;
|
||||
|
||||
/** 公众号openId */
|
||||
private String openId;
|
||||
|
||||
/** 联合Id */
|
||||
private String unionId;
|
||||
|
||||
/** 用户编号 */
|
||||
private String code;
|
||||
|
||||
/** 用户类型-保留字段 */
|
||||
private String type;
|
||||
|
||||
/** 'DOCTOR'-->医生,'USER'->用户 */
|
||||
private Integer identify;
|
||||
|
||||
/** 1正常 */
|
||||
private Integer status;
|
||||
|
||||
/** 引荐人 */
|
||||
private String parentId;
|
||||
|
||||
private String parentLevel;
|
||||
|
||||
/** 上家类开型,店铺-SHOP/ 个人- PERSON */
|
||||
private String parentType;
|
||||
|
||||
/** 关注进入的活动Id */
|
||||
private String projectId;
|
||||
|
||||
/** 商户Id */
|
||||
private String merchantId;
|
||||
|
||||
/** 0未认证,1认证 */
|
||||
private Integer isResource;
|
||||
|
||||
/** 是否在线 */
|
||||
private Integer isOnline;
|
||||
|
||||
private Integer isVip;
|
||||
|
||||
private Integer vipEffectAt;
|
||||
|
||||
private String tips;
|
||||
|
||||
/** 用户来源:公众号 WECHAT 小程序 WECHAT-APP 手机注册 TELEPHONE */
|
||||
private String sourcePath;
|
||||
|
||||
/** 是否推广员 1 是 0不是 */
|
||||
private Integer isSalesPerson;
|
||||
|
||||
/** 是否关注公众号 */
|
||||
private Integer isAttentionMp;
|
||||
|
||||
/** 城市 */
|
||||
private String city;
|
||||
|
||||
private String searchWord;
|
||||
|
||||
/** 最近登陆时间 */
|
||||
private Long lastLogInAt;
|
||||
|
||||
private Long lastLeaveAt;
|
||||
|
||||
private Long createdAt;
|
||||
|
||||
private Long updatedAt;
|
||||
|
||||
/** 绑定时间 */
|
||||
private Long bindParentAt;
|
||||
|
||||
/** 上上家 */
|
||||
private String grandParentId;
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
/*
|
||||
* 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.dto;
|
||||
|
||||
import lombok.Data;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
import cn.ysk.cashier.annotation.Query;
|
||||
|
||||
/**
|
||||
* @website https://eladmin.vip
|
||||
* @author lyf
|
||||
* @date 2023-11-13
|
||||
**/
|
||||
@Data
|
||||
public class TbUserInfoQueryCriteria{
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private Integer id;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private BigDecimal amount;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private String levelId;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private String headImg;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private String nickName;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private String telephone;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private Long lastLogInAt;
|
||||
|
||||
@Query
|
||||
private String shopId;
|
||||
}
|
||||
@@ -0,0 +1,108 @@
|
||||
/*
|
||||
* 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.dto.order;
|
||||
|
||||
import lombok.Data;
|
||||
import java.math.BigDecimal;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @website https://eladmin.vip
|
||||
* @description /
|
||||
* @author lyf
|
||||
* @date 2024-03-02
|
||||
**/
|
||||
@Data
|
||||
public class TbCashierCartDto implements Serializable {
|
||||
|
||||
/** id */
|
||||
private Integer id;
|
||||
|
||||
/** 主单Id */
|
||||
private String masterId;
|
||||
|
||||
/** 本次下单Id */
|
||||
private Integer orderId;
|
||||
|
||||
/** 退单Id */
|
||||
private Integer refOrderId;
|
||||
|
||||
/** 购物车总额 */
|
||||
private BigDecimal totalAmount;
|
||||
|
||||
/** 商品Id */
|
||||
private String productId;
|
||||
|
||||
/** 商品图片 */
|
||||
private String coverImg;
|
||||
|
||||
/** 是否sku */
|
||||
private String isSku;
|
||||
|
||||
/** skuId */
|
||||
private String skuId;
|
||||
|
||||
/** 商品名 */
|
||||
private String name;
|
||||
|
||||
/** 单价 */
|
||||
private BigDecimal salePrice;
|
||||
|
||||
/** 结余数量 */
|
||||
private Integer number;
|
||||
|
||||
/** 总下单数量 */
|
||||
private Integer totalNumber;
|
||||
|
||||
/** 退单数量 */
|
||||
private Integer refundNumber;
|
||||
|
||||
/** 分类Id */
|
||||
private String categoryId;
|
||||
|
||||
/** '购物车关闭 closed',' 购物车挂起 refund',' 购物车列表生效create',' 购物车完成final' */
|
||||
private String status;
|
||||
|
||||
/** 是否为组合商品 0-单商品 1为组合商品 */
|
||||
private Integer type;
|
||||
|
||||
/** 商户Id */
|
||||
private String merchantId;
|
||||
|
||||
/** 店铺Id */
|
||||
private String shopId;
|
||||
|
||||
private Long createdAt;
|
||||
|
||||
private Long updatedAt;
|
||||
|
||||
/** 用户的openId */
|
||||
private Integer userId;
|
||||
|
||||
/** 台桌id */
|
||||
private Integer tableId;
|
||||
|
||||
/** 打包费 */
|
||||
private BigDecimal packFee;
|
||||
|
||||
private String tradeDay;
|
||||
|
||||
private String isPack;
|
||||
|
||||
private String isGift;
|
||||
|
||||
private Long pendingAt;
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
/*
|
||||
* 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.dto.order;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @website https://eladmin.vip
|
||||
* @author lyf
|
||||
* @date 2024-03-02
|
||||
**/
|
||||
@Data
|
||||
public class TbCashierCartQueryCriteria{
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* 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.dto.order;
|
||||
|
||||
import lombok.Data;
|
||||
import java.sql.Timestamp;
|
||||
import java.math.BigDecimal;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @website https://eladmin.vip
|
||||
* @description /
|
||||
* @author lyf
|
||||
* @date 2024-03-02
|
||||
**/
|
||||
@Data
|
||||
public class TbOrderDetailDto implements Serializable {
|
||||
|
||||
private Integer id;
|
||||
|
||||
private Integer orderId;
|
||||
|
||||
private Integer shopId;
|
||||
|
||||
private Integer productId;
|
||||
|
||||
private Integer productSkuId;
|
||||
|
||||
private Integer num;
|
||||
|
||||
private String productName;
|
||||
|
||||
private String productSkuName;
|
||||
|
||||
private String productImg;
|
||||
|
||||
private Timestamp createTime;
|
||||
|
||||
private Timestamp updateTime;
|
||||
|
||||
private BigDecimal price;
|
||||
|
||||
private BigDecimal priceAmount;
|
||||
|
||||
private String status;
|
||||
|
||||
/** 打包费 */
|
||||
private BigDecimal packAmount;
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
/*
|
||||
* 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.dto.order;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @website https://eladmin.vip
|
||||
* @author lyf
|
||||
* @date 2024-03-02
|
||||
**/
|
||||
@Data
|
||||
public class TbOrderDetailQueryCriteria{
|
||||
}
|
||||
@@ -0,0 +1,158 @@
|
||||
/*
|
||||
* 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.dto.order;
|
||||
|
||||
import lombok.Data;
|
||||
import cn.ysk.cashier.pojo.order.TbCashierCart;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @website https://eladmin.vip
|
||||
* @description /
|
||||
* @author lyf
|
||||
* @date 2024-03-02
|
||||
**/
|
||||
@Data
|
||||
public class TbOrderInfoDto implements Serializable {
|
||||
|
||||
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;
|
||||
|
||||
/** 台桌Id */
|
||||
private String tableId;
|
||||
|
||||
/** 订单抹零 */
|
||||
private BigDecimal smallChange;
|
||||
|
||||
/** 发货类型 */
|
||||
private String sendType;
|
||||
|
||||
/** 订单类型-cash收银-miniapp小程序-offline线下 */
|
||||
private String orderType;
|
||||
|
||||
/** 订单里面商品的类型 */
|
||||
private String productType;
|
||||
|
||||
/** 状态: unpaid 待支付unsend待发货 closed 订单完成 send 已发refunding申请退单refund退单cancelled取消订单merge合台 */
|
||||
private String status;
|
||||
|
||||
/** orderType为union-minor时,parentId生效,为其上级合单id */
|
||||
private String billingId;
|
||||
|
||||
/** 对于平台订单,是收款商户Id */
|
||||
private String merchantId;
|
||||
|
||||
/** 店铺Id */
|
||||
private String shopId;
|
||||
|
||||
/** 是否vip订单 */
|
||||
private Integer isVip;
|
||||
|
||||
/** 商户会员Id */
|
||||
private String memberId;
|
||||
|
||||
/** 用户Id */
|
||||
private String userId;
|
||||
|
||||
/** 该订单商品赠送的积分 */
|
||||
private Integer productScore;
|
||||
|
||||
/** 抵扣积分 */
|
||||
private Integer deductScore;
|
||||
|
||||
/** 用户使用的卡券 */
|
||||
private String userCouponId;
|
||||
|
||||
/** 优惠券抵扣金额 */
|
||||
private BigDecimal userCouponAmount;
|
||||
|
||||
/** 如果为退单时,主单号 */
|
||||
private String masterId;
|
||||
|
||||
/** 是否支持退款,1支持退单, 0不支持退单 */
|
||||
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,78 @@
|
||||
/*
|
||||
* 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.dto.order;
|
||||
|
||||
import lombok.Data;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
import cn.ysk.cashier.annotation.Query;
|
||||
|
||||
/**
|
||||
* @website https://eladmin.vip
|
||||
* @author lyf
|
||||
* @date 2024-03-02
|
||||
**/
|
||||
@Data
|
||||
public class TbOrderInfoQueryCriteria{
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private Integer id;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private String orderNo;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private BigDecimal productAmount;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private BigDecimal payAmount;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private String sendType;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private String status;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private String shopId;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private String memberId;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private String userId;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private Long paidTime;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private Long createdAt;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private Integer isAccepted;
|
||||
}
|
||||
@@ -0,0 +1,145 @@
|
||||
package cn.ysk.cashier.dto.product;
|
||||
|
||||
import lombok.Data;
|
||||
import lombok.NonNull;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author 出库入库Dto
|
||||
*/
|
||||
|
||||
public class OutAndOnDto {
|
||||
/**
|
||||
* 批号
|
||||
*/
|
||||
private String batchNumber;
|
||||
/**
|
||||
* 商品list
|
||||
*/
|
||||
private List<Object> list;
|
||||
/**
|
||||
* 实收金额
|
||||
*/
|
||||
private BigDecimal paidAmount;
|
||||
/**
|
||||
* 实收时间
|
||||
*/
|
||||
private Long paidAt;
|
||||
/**
|
||||
* 供货商id
|
||||
*/
|
||||
private String purveyorId;
|
||||
/**
|
||||
* 供货商名称
|
||||
*/
|
||||
private String purveyorName;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
private String remark;
|
||||
/**
|
||||
* 出库时间
|
||||
*/
|
||||
private Long time;
|
||||
/**
|
||||
* 应收金额
|
||||
*/
|
||||
private BigDecimal totalAmount;
|
||||
|
||||
@NonNull
|
||||
private String type;
|
||||
@NonNull
|
||||
private String shopId;
|
||||
|
||||
|
||||
public String getBatchNumber() {
|
||||
return batchNumber;
|
||||
}
|
||||
|
||||
public void setBatchNumber(String batchNumber) {
|
||||
this.batchNumber = batchNumber;
|
||||
}
|
||||
|
||||
public List<Object> getList() {
|
||||
return list;
|
||||
}
|
||||
|
||||
public void setList(List<Object> list) {
|
||||
this.list = list;
|
||||
}
|
||||
|
||||
public BigDecimal getPaidAmount() {
|
||||
return paidAmount;
|
||||
}
|
||||
|
||||
public void setPaidAmount(BigDecimal paidAmount) {
|
||||
this.paidAmount = paidAmount;
|
||||
}
|
||||
|
||||
public Long getPaidAt() {
|
||||
return paidAt;
|
||||
}
|
||||
|
||||
public void setPaidAt(Long paidAt) {
|
||||
this.paidAt = paidAt;
|
||||
}
|
||||
|
||||
public String getPurveyorId() {
|
||||
return purveyorId;
|
||||
}
|
||||
|
||||
public void setPurveyorId(String purveyorId) {
|
||||
this.purveyorId = purveyorId;
|
||||
}
|
||||
|
||||
public String getPurveyorName() {
|
||||
return purveyorName;
|
||||
}
|
||||
|
||||
public void setPurveyorName(String purveyorName) {
|
||||
this.purveyorName = purveyorName;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return remark;
|
||||
}
|
||||
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public Long getTime() {
|
||||
return time;
|
||||
}
|
||||
|
||||
public void setTime(Long time) {
|
||||
this.time = time;
|
||||
}
|
||||
|
||||
public BigDecimal getTotalAmount() {
|
||||
return totalAmount;
|
||||
}
|
||||
|
||||
public void setTotalAmount(BigDecimal totalAmount) {
|
||||
this.totalAmount = totalAmount;
|
||||
}
|
||||
|
||||
public String getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public void setType(String type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public String getShopId() {
|
||||
return shopId;
|
||||
}
|
||||
|
||||
public void setShopId(String shopId) {
|
||||
this.shopId = shopId;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
package cn.ysk.cashier.dto.product;
|
||||
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* @author lyf
|
||||
*/
|
||||
@Data
|
||||
public class ProductListDto {
|
||||
|
||||
/**
|
||||
* sku id
|
||||
*/
|
||||
private Integer id;
|
||||
|
||||
|
||||
/**
|
||||
* 进价
|
||||
*/
|
||||
private BigDecimal guidePrice;
|
||||
/**
|
||||
* 产品id
|
||||
*/
|
||||
private String productId;
|
||||
|
||||
/**
|
||||
* 数量
|
||||
*/
|
||||
private Integer number;
|
||||
|
||||
private BigDecimal costPrice;
|
||||
|
||||
private String name;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private BigDecimal totalAmount;
|
||||
|
||||
/**
|
||||
* 单位
|
||||
*/
|
||||
private String unitName;
|
||||
/**
|
||||
*规格
|
||||
*/
|
||||
private String specSnap;
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
package cn.ysk.cashier.dto.product;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author lyf
|
||||
*/
|
||||
@Data
|
||||
public class SpecDto {
|
||||
/**
|
||||
* 规格名称
|
||||
*/
|
||||
private String name;
|
||||
/**
|
||||
* shopId
|
||||
*/
|
||||
private String shopId;
|
||||
|
||||
private List<String> specList;
|
||||
}
|
||||
@@ -0,0 +1,220 @@
|
||||
/*
|
||||
* 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.dto.product;
|
||||
|
||||
import lombok.Data;
|
||||
import cn.ysk.cashier.pojo.product.TbProductSku;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @website https://eladmin.vip
|
||||
* @description /
|
||||
* @author lyf
|
||||
* @date 2023-12-11
|
||||
**/
|
||||
@Data
|
||||
public class TbProductDto implements Serializable {
|
||||
|
||||
/** id */
|
||||
private Integer id;
|
||||
|
||||
/** 商品来源 NORMAL普通商品 --,SCORE积分商品 */
|
||||
private String sourcePath;
|
||||
|
||||
/** 商户Id */
|
||||
private String merchantId;
|
||||
|
||||
/** 店铺id */
|
||||
private String shopId;
|
||||
|
||||
/** 商品名称 */
|
||||
private String name;
|
||||
|
||||
/** 商品类型(属性):REAL- 实物商品 VIR---虚拟商品 */
|
||||
private String type;
|
||||
|
||||
/** 包装费 */
|
||||
private BigDecimal packFee;
|
||||
|
||||
/** 商品最低价 */
|
||||
private BigDecimal lowPrice;
|
||||
|
||||
/** 单位Id */
|
||||
private String unitId;
|
||||
|
||||
/** 商品封面图 */
|
||||
private String coverImg;
|
||||
|
||||
private String categoryId;
|
||||
|
||||
/** 商品规格 */
|
||||
private Integer specId;
|
||||
|
||||
/** 品牌Id */
|
||||
private Integer brandId;
|
||||
|
||||
/** 短标题--促销语 */
|
||||
private String shortTitle;
|
||||
|
||||
private BigDecimal lowMemberPrice;
|
||||
|
||||
/** 单位镜像 */
|
||||
private String unitSnap;
|
||||
|
||||
/** 商品分享图 */
|
||||
private String shareImg;
|
||||
|
||||
/** 商品图片(第一张为缩略图,其他为详情) */
|
||||
private String images;
|
||||
|
||||
/** 商品视频URL地址 */
|
||||
private String video;
|
||||
|
||||
/** 视频封面图 */
|
||||
private String videoCoverImg;
|
||||
|
||||
/** 排序 */
|
||||
private Integer sort;
|
||||
|
||||
/** 0-不限购 */
|
||||
private Integer limitNumber;
|
||||
|
||||
/** 商品赚送积分 */
|
||||
private Integer productScore;
|
||||
|
||||
/** 0--待审核 1审核通过 -1审核失败 -2违规下架 */
|
||||
private Integer status;
|
||||
|
||||
/** 审核失败原因 */
|
||||
private String failMsg;
|
||||
|
||||
/** 是否推荐,店铺推荐展示 */
|
||||
private Integer isRecommend;
|
||||
|
||||
/** 是否热销 */
|
||||
private Integer isHot;
|
||||
|
||||
/** 是否新品 */
|
||||
private Integer isNew;
|
||||
|
||||
/** 是否促销1-是0-否 */
|
||||
private Integer isOnSale;
|
||||
|
||||
/** 是否展示0-下架 1上架---废弃 */
|
||||
private Integer isShow;
|
||||
|
||||
/** 商品规格:0-单规格 1多规格 */
|
||||
private String typeEnum;
|
||||
|
||||
/** 是否独立分销 */
|
||||
private Integer isDistribute;
|
||||
|
||||
/** 是否回收站 0-否,1回收站 */
|
||||
private Integer isDel;
|
||||
|
||||
/** 是否开启库存 */
|
||||
private Integer isStock;
|
||||
|
||||
/** 是否暂停销售 */
|
||||
private Integer isPauseSale;
|
||||
|
||||
/** 是否免邮1-是 0-否 */
|
||||
private Integer isFreeFreight;
|
||||
|
||||
/** 邮费模版 */
|
||||
private Long freightId;
|
||||
|
||||
/** 商品当前生效策略 */
|
||||
private String strategyType;
|
||||
|
||||
/** 策略Id */
|
||||
private Integer strategyId;
|
||||
|
||||
/** vip专属 */
|
||||
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 String groupSnap;
|
||||
|
||||
private Integer isShowCash;
|
||||
|
||||
private Integer isShowMall;
|
||||
|
||||
/** 是否需要审核 */
|
||||
private Integer isNeedExamine;
|
||||
|
||||
/** 线上商城展示状态0待审核 -1 异常 1正常 */
|
||||
private Integer showOnMallStatus;
|
||||
|
||||
/** 提交审核时间 */
|
||||
private Long showOnMallTime;
|
||||
|
||||
/** 线上商城展示失败原因 */
|
||||
private String showOnMallErrorMsg;
|
||||
|
||||
/** 使用标签打印 选择 是 并在 前台>本机设置 勾选打印标签后,收银完成后会自动打印对应数量的标签数 */
|
||||
private Integer enableLabel;
|
||||
|
||||
/** 税率 */
|
||||
private String taxConfigId;
|
||||
/**
|
||||
* 商品sku信息
|
||||
*/
|
||||
private List<TbProductSku> skuList;
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* 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.dto.product;
|
||||
|
||||
import lombok.Data;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @website https://eladmin.vip
|
||||
* @description /
|
||||
* @author lyf
|
||||
* @date 2023-12-16
|
||||
**/
|
||||
@Data
|
||||
public class TbProductGroupDto implements Serializable {
|
||||
|
||||
/** id */
|
||||
private Integer id;
|
||||
|
||||
/** 分组名称 */
|
||||
private String name;
|
||||
|
||||
/** 商户Id */
|
||||
private String merchantId;
|
||||
|
||||
/** 店铺Id */
|
||||
private Integer shopId;
|
||||
|
||||
/** 图标 */
|
||||
private String pic;
|
||||
|
||||
/** 是否显示 */
|
||||
private Integer isShow;
|
||||
|
||||
/** 分类描述 */
|
||||
private String detail;
|
||||
|
||||
private String style;
|
||||
|
||||
/** 排序 */
|
||||
private Integer sort;
|
||||
|
||||
/** 商品列表 */
|
||||
private String productIds;
|
||||
|
||||
private Long createdAt;
|
||||
|
||||
private Long updatedAt;
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
/*
|
||||
* 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.dto.product;
|
||||
|
||||
import lombok.Data;
|
||||
import cn.ysk.cashier.annotation.Query;
|
||||
|
||||
/**
|
||||
* @website https://eladmin.vip
|
||||
* @author lyf
|
||||
* @date 2023-12-16
|
||||
**/
|
||||
@Data
|
||||
public class TbProductGroupQueryCriteria{
|
||||
@Query
|
||||
private Integer shopId;
|
||||
|
||||
@Query
|
||||
private String name;
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
/*
|
||||
* 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.dto.product;
|
||||
|
||||
import lombok.Data;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
import cn.ysk.cashier.annotation.Query;
|
||||
|
||||
/**
|
||||
* @website https://eladmin.vip
|
||||
* @author lyf
|
||||
* @date 2023-12-11
|
||||
**/
|
||||
@Data
|
||||
public class TbProductQueryCriteria{
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private Integer id;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private String shopId;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private String name;
|
||||
|
||||
@Query
|
||||
private String categoryId;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private BigDecimal packFee;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private BigDecimal lowPrice;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private String unitId;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private String coverImg;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private Integer specId;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private Integer brandId;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private String images;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private String videoCoverImg;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private Integer status;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private Integer isDel;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private Integer isFreeFreight;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private Integer isDelete;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private Double baseSalesNumber;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private Integer realSalesNumber;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private Integer salesNumber;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private Integer thumbCount;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private Integer storeCount;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private Integer furnishMeal;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private Integer furnishExpress;
|
||||
|
||||
@Query
|
||||
private String typeEnum;
|
||||
}
|
||||
@@ -0,0 +1,88 @@
|
||||
/*
|
||||
* 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.dto.product;
|
||||
|
||||
import lombok.Data;
|
||||
import java.math.BigDecimal;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @website https://eladmin.vip
|
||||
* @description /
|
||||
* @author lyf
|
||||
* @date 2024-01-03
|
||||
**/
|
||||
@Data
|
||||
public class TbProductSkuDto implements Serializable {
|
||||
|
||||
/** 自增id */
|
||||
private Integer id;
|
||||
|
||||
private String shopId;
|
||||
|
||||
/** 条形码 */
|
||||
private String barCode;
|
||||
|
||||
/** 商品Id */
|
||||
private String productId;
|
||||
|
||||
/** 原价 */
|
||||
private BigDecimal originPrice;
|
||||
|
||||
/** 成本价 */
|
||||
private BigDecimal costPrice;
|
||||
|
||||
/** 会员价 */
|
||||
private BigDecimal memberPrice;
|
||||
|
||||
private BigDecimal mealPrice;
|
||||
|
||||
/** 售价 */
|
||||
private BigDecimal salePrice;
|
||||
|
||||
/** 进货参考价 */
|
||||
private BigDecimal guidePrice;
|
||||
|
||||
private BigDecimal strategyPrice;
|
||||
|
||||
/** 库存数量 */
|
||||
private Double stockNumber;
|
||||
|
||||
/** 标签镜像 */
|
||||
private String specSnap;
|
||||
|
||||
private String coverImg;
|
||||
|
||||
/** 库存警戒线 */
|
||||
private Integer warnLine;
|
||||
|
||||
private Double weight;
|
||||
|
||||
private Float volume;
|
||||
|
||||
/** 销量 */
|
||||
private Double realSalesNumber;
|
||||
|
||||
/** 一级分销金额 */
|
||||
private BigDecimal firstShared;
|
||||
|
||||
/** 二级分销金额 */
|
||||
private BigDecimal secondShared;
|
||||
|
||||
private Long createdAt;
|
||||
|
||||
private Long updatedAt;
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
/*
|
||||
* 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.dto.product;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @website https://eladmin.vip
|
||||
* @author lyf
|
||||
* @date 2024-01-03
|
||||
**/
|
||||
@Data
|
||||
public class TbProductSkuQueryCriteria{
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* 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.dto.product;
|
||||
|
||||
import lombok.Data;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @website https://eladmin.vip
|
||||
* @description /
|
||||
* @author lyf
|
||||
* @date 2024-02-08
|
||||
**/
|
||||
@Data
|
||||
public class TbProductSkuResultDto implements Serializable {
|
||||
|
||||
/** 商品Id */
|
||||
private Integer id;
|
||||
|
||||
/** 商户Id */
|
||||
private String merchantId;
|
||||
|
||||
/** 规格id */
|
||||
private Long specId;
|
||||
|
||||
/** 标签列表,包括名称,显示 */
|
||||
private String tagSnap;
|
||||
|
||||
private Long createdAt;
|
||||
|
||||
private Long updatedAt;
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* 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.dto.product;
|
||||
|
||||
import lombok.Data;
|
||||
import cn.ysk.cashier.annotation.Query;
|
||||
|
||||
/**
|
||||
* @website https://eladmin.vip
|
||||
* @author lyf
|
||||
* @date 2024-02-08
|
||||
**/
|
||||
@Data
|
||||
public class TbProductSkuResultQueryCriteria{
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private Integer id;
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
* 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.dto.product;
|
||||
|
||||
import lombok.Data;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @website https://eladmin.vip
|
||||
* @description /
|
||||
* @author lyf
|
||||
* @date 2024-01-03
|
||||
**/
|
||||
@Data
|
||||
public class TbProductSpecDto implements Serializable {
|
||||
|
||||
/** id */
|
||||
private Integer id;
|
||||
|
||||
private String shopId;
|
||||
|
||||
/** 商品属性名称 */
|
||||
private String name;
|
||||
|
||||
/** 规格属性 */
|
||||
private String specTag;
|
||||
|
||||
/** 属性介绍 */
|
||||
private String specTagDetail;
|
||||
|
||||
private String specList;
|
||||
|
||||
/** 排序 */
|
||||
private Integer sort;
|
||||
|
||||
private Long createdAt;
|
||||
|
||||
private Long updatedAt;
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
/*
|
||||
* 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.dto.product;
|
||||
|
||||
import lombok.Data;
|
||||
import cn.ysk.cashier.annotation.Query;
|
||||
|
||||
/**
|
||||
* @website https://eladmin.vip
|
||||
* @author lyf
|
||||
* @date 2024-01-03
|
||||
**/
|
||||
@Data
|
||||
public class TbProductSpecQueryCriteria{
|
||||
/**
|
||||
* shopId
|
||||
*/
|
||||
@Query
|
||||
private String shopId;
|
||||
}
|
||||
@@ -0,0 +1,104 @@
|
||||
/*
|
||||
* 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.dto.product;
|
||||
|
||||
import lombok.Data;
|
||||
import java.math.BigDecimal;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @website https://eladmin.vip
|
||||
* @description /
|
||||
* @author lyf
|
||||
* @date 2024-01-19
|
||||
**/
|
||||
@Data
|
||||
public class TbProductStockDetailDto implements Serializable {
|
||||
|
||||
private Long id;
|
||||
|
||||
/** skuId */
|
||||
private String skuId;
|
||||
|
||||
/** 商品Id */
|
||||
private String productId;
|
||||
|
||||
/** 商品名称 */
|
||||
private String productName;
|
||||
|
||||
/** 是否开启库存 */
|
||||
private Integer isStock;
|
||||
|
||||
/** 规格 */
|
||||
private String specSnap;
|
||||
|
||||
/** 商品单位 */
|
||||
private String unitName;
|
||||
|
||||
/** 店铺Id */
|
||||
private String shopId;
|
||||
|
||||
private String recordId;
|
||||
|
||||
/** 操作批次号 */
|
||||
private String batchNumber;
|
||||
|
||||
/** 库存操作来源:收银端调用 CASHIER 系统后台调用SHOP */
|
||||
private String sourcePath;
|
||||
|
||||
/** 关联订单Id */
|
||||
private String orderId;
|
||||
|
||||
/** 1入库 -1出库 */
|
||||
private Integer subType;
|
||||
|
||||
/** purchase采购入库 transfer调拔入库
|
||||
stockpile存酒入库
|
||||
2盘点入库3退货入库4期初5生产归还入库6内部令用归还7借出归还8其它入库9调拔出库sale销售出库11盘点出库12锁定13生产领料14内部领用15借用出库16其它出库17报废出库 */
|
||||
private String type;
|
||||
|
||||
/** 上次剩余数量 */
|
||||
private Integer leftNumber;
|
||||
|
||||
/** 出入库时间 */
|
||||
private Long stockTime;
|
||||
|
||||
/** 本次操作库存数量 */
|
||||
private Double stockNumber;
|
||||
|
||||
/** 入库合计成本金额 */
|
||||
private BigDecimal costAmount;
|
||||
|
||||
/** 出售合计金额 */
|
||||
private BigDecimal salesAmount;
|
||||
|
||||
/** 操作人 */
|
||||
private String operator;
|
||||
|
||||
/** 备注 */
|
||||
private String remark;
|
||||
|
||||
/** 库存镜像 */
|
||||
private String stockSnap;
|
||||
|
||||
private String barCode;
|
||||
|
||||
private String coverImg;
|
||||
|
||||
private Long createdAt;
|
||||
|
||||
private Long updatedAt;
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* 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.dto.product;
|
||||
|
||||
import lombok.Data;
|
||||
import java.util.List;
|
||||
import cn.ysk.cashier.annotation.Query;
|
||||
|
||||
/**
|
||||
* @website https://eladmin.vip
|
||||
* @author lyf
|
||||
* @date 2024-01-19
|
||||
**/
|
||||
@Data
|
||||
public class TbProductStockDetailQueryCriteria{
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private String skuId;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private String productId;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private String productName;
|
||||
/** BETWEEN */
|
||||
@Query(type = Query.Type.BETWEEN)
|
||||
private List<Long> createdAt;
|
||||
@Query
|
||||
private Long createTime;
|
||||
@Query
|
||||
private Long endTime;
|
||||
|
||||
private Integer page;
|
||||
|
||||
private Integer size;
|
||||
|
||||
private String sort = "id,desc";
|
||||
}
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* 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.dto.product;
|
||||
|
||||
import lombok.Data;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @website https://eladmin.vip
|
||||
* @description /
|
||||
* @author lyf
|
||||
* @date 2024-01-25
|
||||
**/
|
||||
@Data
|
||||
public class TbProductStockOperateDto implements Serializable {
|
||||
|
||||
/** 自增id */
|
||||
private Integer id;
|
||||
|
||||
/** 店铺Id */
|
||||
private String shopId;
|
||||
|
||||
/** 操作镜像 */
|
||||
private String stockSnap;
|
||||
|
||||
private String type;
|
||||
|
||||
private Integer subType;
|
||||
|
||||
/** 批次 */
|
||||
private String batchNumber;
|
||||
|
||||
private String remark;
|
||||
|
||||
/** 操作时间 */
|
||||
private Long stockTime;
|
||||
|
||||
/** 操作人 */
|
||||
private String operatorSnap;
|
||||
|
||||
private Long createdAt;
|
||||
|
||||
private Long updatedAt;
|
||||
|
||||
/** 供应商Id */
|
||||
private String purveyorId;
|
||||
|
||||
/** 供应商名称 */
|
||||
private String purveyorName;
|
||||
|
||||
/** nullify作废normal正常 */
|
||||
private String status;
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
/*
|
||||
* 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.dto.product;
|
||||
|
||||
import lombok.Data;
|
||||
import java.util.List;
|
||||
import cn.ysk.cashier.annotation.Query;
|
||||
|
||||
/**
|
||||
* @website https://eladmin.vip
|
||||
* @author lyf
|
||||
* @date 2024-01-25
|
||||
**/
|
||||
@Data
|
||||
public class TbProductStockOperateQueryCriteria{
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private String shopId;
|
||||
/** BETWEEN */
|
||||
@Query(type = Query.Type.BETWEEN)
|
||||
private List<Long> createdAt;
|
||||
|
||||
private Integer page;
|
||||
|
||||
private Integer size;
|
||||
|
||||
private String sort;
|
||||
}
|
||||
@@ -0,0 +1,86 @@
|
||||
/*
|
||||
* 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.dto.product;
|
||||
|
||||
import cn.hutool.core.bean.BeanUtil;
|
||||
import cn.hutool.core.bean.copier.CopyOptions;
|
||||
import lombok.Data;
|
||||
import cn.ysk.cashier.pojo.product.TbShopCategory;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @website https://eladmin.vip
|
||||
* @description /
|
||||
* @author lyf
|
||||
* @date 2024-01-08
|
||||
**/
|
||||
@Data
|
||||
public class TbShopCategoryDto implements Serializable {
|
||||
|
||||
/** 自增id */
|
||||
private Integer id;
|
||||
|
||||
/** 分类名称 */
|
||||
private String name;
|
||||
|
||||
/** 简称 */
|
||||
private String shortName;
|
||||
|
||||
/** 分类层级 */
|
||||
private Integer tree;
|
||||
|
||||
/** 上级分类id-为0则表示是顶级 */
|
||||
private String pid;
|
||||
|
||||
/** 图标 */
|
||||
private String pic;
|
||||
|
||||
/** 商户Id */
|
||||
private String merchantId;
|
||||
|
||||
/** 店铺Id */
|
||||
private String shopId;
|
||||
|
||||
/** 颜色格式标识 */
|
||||
private String style;
|
||||
|
||||
/** 是否显示:1显示 0不显示 */
|
||||
private Integer isShow;
|
||||
|
||||
/** 分类描述 */
|
||||
private String detail;
|
||||
|
||||
/** 排序 */
|
||||
private Integer sort;
|
||||
|
||||
/** 关键词 */
|
||||
private String keyWord;
|
||||
|
||||
private Long createdAt;
|
||||
|
||||
private Long updatedAt;
|
||||
/**
|
||||
* 子分类
|
||||
*/
|
||||
private List<TbShopCategory> childrenList = new ArrayList<>();
|
||||
|
||||
public void copy(TbShopCategory source){
|
||||
BeanUtil.copyProperties(source,this, CopyOptions.create().setIgnoreNullValue(true));
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* 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.dto.product;
|
||||
|
||||
import lombok.Data;
|
||||
import cn.ysk.cashier.annotation.Query;
|
||||
|
||||
/**
|
||||
* @website https://eladmin.vip
|
||||
* @author lyf
|
||||
* @date 2024-01-08
|
||||
**/
|
||||
@Data
|
||||
public class TbShopCategoryQueryCriteria{
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private Integer id;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private String shortName;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private String shopId;
|
||||
|
||||
|
||||
private String tree;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
package cn.ysk.cashier.dto.shop;
|
||||
|
||||
import lombok.Data;
|
||||
import cn.ysk.cashier.pojo.product.TbShopCategory;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author 12847
|
||||
*/
|
||||
@Data
|
||||
public class PrintConfig {
|
||||
private String width;
|
||||
private String printerNum;
|
||||
|
||||
private List<TbShopCategory> categoryList;
|
||||
|
||||
private String model;
|
||||
|
||||
private String feet;
|
||||
|
||||
private String autoCut;
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
package cn.ysk.cashier.dto.shop;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
@Data
|
||||
public class PrintMachineDto {
|
||||
private Integer id;
|
||||
|
||||
/** 设备名称 */
|
||||
@NotNull(message = "设备名称不能为空")
|
||||
private String name;
|
||||
|
||||
/** printer */
|
||||
private String type;
|
||||
|
||||
/** 现在打印机支持USB 和 网络、蓝牙 */
|
||||
private String connectionType;
|
||||
|
||||
/** ip地址 */
|
||||
@NotNull(message = "设备号不能为空")
|
||||
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 PrintConfig 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,88 @@
|
||||
/*
|
||||
* 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.dto.shop;
|
||||
|
||||
import lombok.Data;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @website https://eladmin.vip
|
||||
* @description /
|
||||
* @author lyf
|
||||
* @date 2024-02-08
|
||||
**/
|
||||
@Data
|
||||
public class TbMerchantAccountDto implements Serializable {
|
||||
|
||||
/** 自增id */
|
||||
private Integer id;
|
||||
|
||||
/** 登陆帐号 */
|
||||
private String account;
|
||||
|
||||
/** 登陆密码 */
|
||||
private String password;
|
||||
|
||||
/** 商家Id */
|
||||
private String merchantId;
|
||||
|
||||
/** 门店Id */
|
||||
private String shopId;
|
||||
|
||||
private String shopSnap;
|
||||
|
||||
/** 是否管理员 */
|
||||
private Integer isAdmin;
|
||||
|
||||
/** 是否商户:1商户帐号0-店铺帐号 */
|
||||
private Integer isMercantile;
|
||||
|
||||
/** 姓名 */
|
||||
private String name;
|
||||
|
||||
/** 性别:0女 1 男 */
|
||||
private Integer sex;
|
||||
|
||||
/** 邮箱 */
|
||||
private String email;
|
||||
|
||||
/** 头像 */
|
||||
private String headImg;
|
||||
|
||||
/** 联系电话 */
|
||||
private String telephone;
|
||||
|
||||
/** 状态 */
|
||||
private Integer status;
|
||||
|
||||
/** 排序 */
|
||||
private Integer sort;
|
||||
|
||||
private Integer roleId;
|
||||
|
||||
/** 最后登陆时间 */
|
||||
private Integer lastLoginAt;
|
||||
|
||||
/** 公众号openId */
|
||||
private String mpOpenId;
|
||||
|
||||
/** 是否接收消息通知 */
|
||||
private Integer msgAble;
|
||||
|
||||
private Long createdAt;
|
||||
|
||||
private Long updatedAt;
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
/*
|
||||
* 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.dto.shop;
|
||||
|
||||
import lombok.Data;
|
||||
import cn.ysk.cashier.annotation.Query;
|
||||
|
||||
/**
|
||||
* @website https://eladmin.vip
|
||||
* @author lyf
|
||||
* @date 2024-02-08
|
||||
**/
|
||||
@Data
|
||||
public class TbMerchantAccountQueryCriteria{
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private Integer id;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private String account;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private String shopId;
|
||||
}
|
||||
@@ -0,0 +1,78 @@
|
||||
/*
|
||||
* 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.dto.shop;
|
||||
|
||||
import lombok.Data;
|
||||
import java.math.BigDecimal;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @website https://eladmin.vip
|
||||
* @description /
|
||||
* @author lyf
|
||||
* @date 2024-02-23
|
||||
**/
|
||||
@Data
|
||||
public class TbMerchantRegisterDto implements Serializable {
|
||||
|
||||
private Integer id;
|
||||
|
||||
/** 激活码 */
|
||||
private String registerCode;
|
||||
|
||||
/** 授权token */
|
||||
private String appCode;
|
||||
|
||||
private String telephone;
|
||||
|
||||
private String merchantId;
|
||||
|
||||
/** 店铺id */
|
||||
private String shopId;
|
||||
|
||||
/** 版本类型 */
|
||||
private String type;
|
||||
|
||||
/** 激活码金额 */
|
||||
private BigDecimal amount;
|
||||
|
||||
/** 激活时长(月) */
|
||||
private Integer periodYear;
|
||||
|
||||
private String name;
|
||||
|
||||
private String address;
|
||||
|
||||
private String logo;
|
||||
|
||||
private String industry;
|
||||
|
||||
private String industryName;
|
||||
|
||||
/** 状态0未使用1已使用 */
|
||||
private Integer status;
|
||||
|
||||
private Integer limitShopNumber;
|
||||
|
||||
private String sourcePath;
|
||||
|
||||
/** 创建时间 */
|
||||
private Long createdAt;
|
||||
|
||||
private Long updatedAt;
|
||||
|
||||
private Integer number;
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
/*
|
||||
* 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.dto.shop;
|
||||
|
||||
import lombok.Data;
|
||||
import java.util.List;
|
||||
import cn.ysk.cashier.annotation.Query;
|
||||
|
||||
/**
|
||||
* @website https://eladmin.vip
|
||||
* @author lyf
|
||||
* @date 2024-02-23
|
||||
**/
|
||||
@Data
|
||||
public class TbMerchantRegisterQueryCriteria{
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private String type;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private Integer status;
|
||||
/** BETWEEN */
|
||||
@Query(type = Query.Type.BETWEEN)
|
||||
private List<Long> createdAt;
|
||||
|
||||
@Query(type = Query.Type.LEFT_LIKE)
|
||||
private String proxyName;
|
||||
|
||||
private Integer page;
|
||||
|
||||
private Integer size;
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* 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.dto.shop;
|
||||
|
||||
import lombok.Data;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @website https://eladmin.vip
|
||||
* @description /
|
||||
* @author lyf
|
||||
* @date 2024-02-02
|
||||
**/
|
||||
@Data
|
||||
public class TbMerchantThirdApplyDto implements Serializable {
|
||||
|
||||
/** 自增id */
|
||||
private Integer id;
|
||||
|
||||
private String type ="";
|
||||
|
||||
/** 商户应用 */
|
||||
private String appId="";
|
||||
|
||||
/** 商户token */
|
||||
private String appToken="";
|
||||
|
||||
/** 审核详情-1未提交,0已提交(不可修改) 1审核通过 */
|
||||
private Integer status=1;
|
||||
|
||||
/** 支付密码 */
|
||||
private String payPassword="";
|
||||
|
||||
private Long createdAt;
|
||||
|
||||
private Long updatedAt;
|
||||
|
||||
/** shopId */
|
||||
private Integer shopId;
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* 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.dto.shop;
|
||||
|
||||
import lombok.Data;
|
||||
import cn.ysk.cashier.annotation.Query;
|
||||
|
||||
/**
|
||||
* @website https://eladmin.vip
|
||||
* @author lyf
|
||||
* @date 2024-02-02
|
||||
**/
|
||||
@Data
|
||||
public class TbMerchantThirdApplyQueryCriteria{
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private Integer shopId;
|
||||
}
|
||||
@@ -0,0 +1,64 @@
|
||||
/*
|
||||
* 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.dto.shop;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import java.math.BigDecimal;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @website https://eladmin.vip
|
||||
* @description /
|
||||
* @author lyf
|
||||
* @date 2024-03-01
|
||||
**/
|
||||
@Data
|
||||
public class TbPlussShopStaffDto implements Serializable {
|
||||
|
||||
/** 自增 */
|
||||
private Integer id;
|
||||
|
||||
/** 员工编号 */
|
||||
private String code;
|
||||
|
||||
/** 员工名称 */
|
||||
private String name;
|
||||
|
||||
/** 登录账号 */
|
||||
private String account;
|
||||
|
||||
/** 密码 */
|
||||
private String password;
|
||||
|
||||
/** 最大优惠金额 */
|
||||
private BigDecimal maxDiscountAmount;
|
||||
|
||||
/** 1启用0不启用 */
|
||||
private Integer status;
|
||||
|
||||
/** 登录端 */
|
||||
private String employee;
|
||||
|
||||
/** shopId */
|
||||
private String shopId;
|
||||
|
||||
private Long createdAt;
|
||||
|
||||
private Long updatedAt;
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* 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.dto.shop;
|
||||
|
||||
import lombok.Data;
|
||||
import cn.ysk.cashier.annotation.Query;
|
||||
|
||||
/**
|
||||
* @website https://eladmin.vip
|
||||
* @author lyf
|
||||
* @date 2024-03-01
|
||||
**/
|
||||
@Data
|
||||
public class TbPlussShopStaffQueryCriteria{
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private String shopId;
|
||||
}
|
||||
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* 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.dto.shop;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @website https://eladmin.vip
|
||||
* @description /
|
||||
* @author lyf
|
||||
* @date 2024-02-28
|
||||
**/
|
||||
@Data
|
||||
public class TbPrintMachineDto implements Serializable {
|
||||
|
||||
private Integer id;
|
||||
|
||||
/** 设备名称 */
|
||||
@NotNull(message = "设备名称不能为空")
|
||||
private String name;
|
||||
|
||||
/** printer */
|
||||
private String type;
|
||||
|
||||
/** 现在打印机支持USB 和 网络、蓝牙 */
|
||||
private String connectionType;
|
||||
|
||||
/** ip地址 */
|
||||
@NotNull(message = "设备号不能为空")
|
||||
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 String 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,39 @@
|
||||
/*
|
||||
* 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.dto.shop;
|
||||
|
||||
import lombok.Data;
|
||||
import cn.ysk.cashier.annotation.Query;
|
||||
|
||||
/**
|
||||
* @website https://eladmin.vip
|
||||
* @author lyf
|
||||
* @date 2024-02-28
|
||||
**/
|
||||
@Data
|
||||
public class TbPrintMachineQueryCriteria{
|
||||
|
||||
/** 模糊 */
|
||||
@Query(type = Query.Type.INNER_LIKE)
|
||||
private String name;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private String type;
|
||||
|
||||
@Query
|
||||
private String shopId;
|
||||
}
|
||||
@@ -0,0 +1,87 @@
|
||||
/*
|
||||
* 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.dto.shop;
|
||||
|
||||
import lombok.Data;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @website https://eladmin.vip
|
||||
* @description /
|
||||
* @author lyf
|
||||
* @date 2024-01-08
|
||||
**/
|
||||
@Data
|
||||
public class TbReceiptSalesDto implements Serializable {
|
||||
|
||||
/** shopId */
|
||||
private Integer id;
|
||||
|
||||
/** 标题 */
|
||||
private String title;
|
||||
|
||||
/** 是否显示公司Logo */
|
||||
private String logo;
|
||||
|
||||
/** 打印联系电话等信息 */
|
||||
private Integer showContactInfo;
|
||||
|
||||
/** 打印会员开关 0?1 */
|
||||
private Integer showMember;
|
||||
|
||||
/** 打印会员编号开关 */
|
||||
private Integer showMemberCode;
|
||||
|
||||
/** 打印会员积分 */
|
||||
private Integer showMemberScore;
|
||||
|
||||
/** 打印会员余额开关 0?1 */
|
||||
private Integer showMemberWallet;
|
||||
|
||||
/** 店铺Id */
|
||||
private String footerRemark;
|
||||
|
||||
/** 打印找零 */
|
||||
private Integer showCashCharge;
|
||||
|
||||
/** 流水号 */
|
||||
private Integer showSerialNo;
|
||||
|
||||
/** 用大号字打印流水号 在showSerialNo可用前提下 */
|
||||
private Integer bigSerialNo;
|
||||
|
||||
/** 头部文字 */
|
||||
private String headerText;
|
||||
|
||||
/** 文字 对齐方式 */
|
||||
private String headerTextAlign;
|
||||
|
||||
/** 尾部文字 */
|
||||
private String footerText;
|
||||
|
||||
/** 文字 对齐方式 */
|
||||
private String footerTextAlign;
|
||||
|
||||
/** 尾部图像 */
|
||||
private String footerImage;
|
||||
|
||||
/** 预打印,YES开启 NO不开启 */
|
||||
private String prePrint;
|
||||
|
||||
private Long createdAt;
|
||||
|
||||
private Long updatedAt;
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* 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.dto.shop;
|
||||
|
||||
import lombok.Data;
|
||||
import cn.ysk.cashier.annotation.Query;
|
||||
|
||||
/**
|
||||
* @website https://eladmin.vip
|
||||
* @author lyf
|
||||
* @date 2024-01-08
|
||||
**/
|
||||
@Data
|
||||
public class TbReceiptSalesQueryCriteria{
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private Integer id;
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* 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.dto.shop;
|
||||
|
||||
import lombok.Data;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @website https://eladmin.vip
|
||||
* @description /
|
||||
* @author lyf
|
||||
* @date 2024-01-31
|
||||
**/
|
||||
@Data
|
||||
public class TbShopAreaDto implements Serializable {
|
||||
|
||||
/** id */
|
||||
private Integer id;
|
||||
|
||||
/** 店铺Id */
|
||||
private Integer shopId;
|
||||
|
||||
/** 排序 */
|
||||
private Integer sort;
|
||||
|
||||
/** 区域名称 */
|
||||
private String name;
|
||||
|
||||
/** 区域价格 */
|
||||
private Integer price;
|
||||
|
||||
/** 图片 */
|
||||
private String view;
|
||||
|
||||
/** 建议人数 5-10 */
|
||||
private String capacityRange;
|
||||
|
||||
private Long createdAt;
|
||||
|
||||
private Long updatedAt;
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
* 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.dto.shop;
|
||||
|
||||
import lombok.Data;
|
||||
import cn.ysk.cashier.annotation.Query;
|
||||
|
||||
/**
|
||||
* @website https://eladmin.vip
|
||||
* @author lyf
|
||||
* @date 2024-01-31
|
||||
**/
|
||||
@Data
|
||||
public class TbShopAreaQueryCriteria{
|
||||
@Query
|
||||
private String shopId;
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* 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.dto.shop;
|
||||
|
||||
import lombok.Data;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @website https://eladmin.vip
|
||||
* @description /
|
||||
* @author lyf
|
||||
* @date 2024-01-05
|
||||
**/
|
||||
@Data
|
||||
public class TbShopCashSpreadDto implements Serializable {
|
||||
|
||||
/** shopId */
|
||||
private Integer id;
|
||||
|
||||
/** 登陆密码 */
|
||||
private String saleReceipt;
|
||||
|
||||
/** 状态 */
|
||||
private String triplicateReceipt;
|
||||
|
||||
/** 到期提醒时间 */
|
||||
private String screenConfig;
|
||||
|
||||
private String tagConfig;
|
||||
|
||||
private String scaleConfig;
|
||||
|
||||
private Long createdAt;
|
||||
|
||||
private Long updatedAt;
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* 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.dto.shop;
|
||||
|
||||
import lombok.Data;
|
||||
import cn.ysk.cashier.annotation.Query;
|
||||
|
||||
/**
|
||||
* @website https://eladmin.vip
|
||||
* @author lyf
|
||||
* @date 2024-01-05
|
||||
**/
|
||||
@Data
|
||||
public class TbShopCashSpreadQueryCriteria{
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private Integer id;
|
||||
}
|
||||
@@ -0,0 +1,94 @@
|
||||
/*
|
||||
* 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.dto.shop;
|
||||
|
||||
import lombok.Data;
|
||||
import java.math.BigDecimal;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @website https://eladmin.vip
|
||||
* @description /
|
||||
* @author lyf
|
||||
* @date 2024-01-05
|
||||
**/
|
||||
@Data
|
||||
public class TbShopCurrencyDto implements Serializable {
|
||||
|
||||
/** 自增id */
|
||||
private Integer id;
|
||||
|
||||
/** 店铺Id */
|
||||
private String shopId;
|
||||
|
||||
/** 备用金 */
|
||||
private BigDecimal prepareAmount;
|
||||
|
||||
/** 货币单位 ¥,$ */
|
||||
private String currency;
|
||||
|
||||
/** 小数位,0,1,2,无,元,角,分 */
|
||||
private Integer decimalsDigits;
|
||||
|
||||
/** 无,四舍五入,五舍六入none,round4up5,round5up6,round12up34 */
|
||||
private String discountRound;
|
||||
|
||||
/** 商户Id */
|
||||
private String merchantId;
|
||||
|
||||
/** 订单抹零 -1无,0元 1角2分 0.5=0.5元 */
|
||||
private Integer smallChange;
|
||||
|
||||
/** 使折扣生效 */
|
||||
private Integer enableCustomDiscount;
|
||||
|
||||
/** 最大抹零金额(100) */
|
||||
private BigDecimal maxDiscount;
|
||||
|
||||
/** 最大折扣百分比,,优先级高于max_discount */
|
||||
private Double maxPercent;
|
||||
|
||||
/** 折扣显示详情 */
|
||||
private String discountConfigs;
|
||||
|
||||
/** 营业时间(弃用) */
|
||||
private String bizDuration;
|
||||
|
||||
/** 允许网络支付 */
|
||||
private Integer allowWebPay;
|
||||
|
||||
/** 自动抹零,开启时,系统自动抹零 */
|
||||
private Integer isAutoToZero;
|
||||
|
||||
/** 商品含税 */
|
||||
private Integer isIncludeTaxPrice;
|
||||
|
||||
/** 服务费配置(小费) */
|
||||
private String serviceCharge;
|
||||
|
||||
/** 税号 */
|
||||
private String taxNumber;
|
||||
|
||||
private Long createdAt;
|
||||
|
||||
private Long updatedAt;
|
||||
|
||||
/** 自动锁屏 */
|
||||
private Integer autoLockScreen;
|
||||
|
||||
/** 语音通知 */
|
||||
private Integer voiceNotification;
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* 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.dto.shop;
|
||||
|
||||
import lombok.Data;
|
||||
import cn.ysk.cashier.annotation.Query;
|
||||
|
||||
/**
|
||||
* @website https://eladmin.vip
|
||||
* @author lyf
|
||||
* @date 2024-01-05
|
||||
**/
|
||||
@Data
|
||||
public class TbShopCurrencyQueryCriteria{
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private String shopId;
|
||||
}
|
||||
@@ -0,0 +1,172 @@
|
||||
/*
|
||||
* 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.dto.shop;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonInclude;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import java.math.BigDecimal;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @website https://eladmin.vip
|
||||
* @description /
|
||||
* @author lyf
|
||||
* @date 2023-11-07
|
||||
**/
|
||||
@Data
|
||||
@JsonInclude(JsonInclude.Include.ALWAYS)
|
||||
public class TbShopInfoDto implements Serializable {
|
||||
|
||||
/** 自增id */
|
||||
private Integer id;
|
||||
|
||||
/** 店铺帐号 */
|
||||
@NotBlank(message = "店铺账号不能为空")
|
||||
private String account;
|
||||
|
||||
/** 店铺代号,策略方式为city +店铺号(8位) */
|
||||
private String shopCode;
|
||||
|
||||
/** 店铺口号 */
|
||||
private String subTitle;
|
||||
|
||||
/** 商户Id */
|
||||
private String merchantId;
|
||||
|
||||
/** 店铺名称 */
|
||||
@NotBlank(message = "店铺账号不能为空")
|
||||
private String shopName;
|
||||
|
||||
/** 连锁店扩展店名 */
|
||||
private String chainName;
|
||||
|
||||
/** 背景图 */
|
||||
private String backImg;
|
||||
|
||||
/** 门头照 */
|
||||
private String frontImg;
|
||||
|
||||
/** 联系人姓名 */
|
||||
private String contactName;
|
||||
|
||||
/** 联系电话 */
|
||||
private String phone;
|
||||
|
||||
/** 店铺log */
|
||||
@NotBlank(message = "店铺logo不能为空")
|
||||
private String logo;
|
||||
|
||||
/** 是否参与代收 0--不参与 1参与 */
|
||||
private Integer isDeposit;
|
||||
|
||||
/** 是否为供应商 */
|
||||
private Integer isSupply;
|
||||
|
||||
/** 封面图 */
|
||||
private String coverImg;
|
||||
|
||||
/** 店铺分享图 */
|
||||
private String shareImg;
|
||||
|
||||
/** 轮播图 */
|
||||
private String view;
|
||||
|
||||
/** 店铺简介 */
|
||||
private String detail;
|
||||
|
||||
/** 经纬度 */
|
||||
private String lat;
|
||||
|
||||
/** 经纬度 */
|
||||
private String lng;
|
||||
|
||||
/** 未用 */
|
||||
private String mchId;
|
||||
|
||||
private String registerType;
|
||||
|
||||
/** 是否独立的微信小程序 */
|
||||
private Integer isWxMaIndependent;
|
||||
|
||||
/** 详细地址 */
|
||||
private String address;
|
||||
|
||||
/** 类似于这种规则51.51.570 */
|
||||
private String city;
|
||||
|
||||
/** 店铺类型 超市--MARKET---其它店SHOP */
|
||||
private String type;
|
||||
|
||||
/** 行业 */
|
||||
private String industry;
|
||||
|
||||
/** 行业名称 */
|
||||
private String industryName;
|
||||
|
||||
/** 营业时间 */
|
||||
private String businessTime;
|
||||
|
||||
/** 配送时间 */
|
||||
private String postTime;
|
||||
|
||||
private BigDecimal postAmountLine;
|
||||
|
||||
/** 0停业1,正常营业,网上售卖 */
|
||||
private Integer onSale;
|
||||
|
||||
/** 0今日,1次日 */
|
||||
private Integer settleType;
|
||||
|
||||
/** 时间 */
|
||||
private String settleTime;
|
||||
|
||||
/** 入驻时间 */
|
||||
private Integer enterAt;
|
||||
|
||||
/** 到期时间 */
|
||||
private Long expireAt;
|
||||
|
||||
/** 门店状态 */
|
||||
private Integer status;
|
||||
|
||||
/** 人均消费 */
|
||||
private Float average;
|
||||
|
||||
/** 订单等待时间 */
|
||||
private Integer orderWaitPayMinute;
|
||||
|
||||
/** 支持登陆设备个数 */
|
||||
private Integer supportDeviceNumber;
|
||||
|
||||
/** 分销层级(1-下级分销 2-两下级分销) */
|
||||
private Integer distributeLevel;
|
||||
|
||||
private Long createdAt;
|
||||
|
||||
private Long updatedAt;
|
||||
|
||||
private String proxyId;
|
||||
/**
|
||||
* 激活码
|
||||
*/
|
||||
private String registerCode;
|
||||
@NotBlank(message = "密码不能为空")
|
||||
private String password;
|
||||
|
||||
private String profiles;
|
||||
}
|
||||
@@ -0,0 +1,68 @@
|
||||
/*
|
||||
* 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.dto.shop;
|
||||
|
||||
import lombok.Data;
|
||||
import cn.ysk.cashier.annotation.Query;
|
||||
|
||||
/**
|
||||
* @website https://eladmin.vip
|
||||
* @author lyf
|
||||
* @date 2023-11-07
|
||||
**/
|
||||
@Data
|
||||
public class TbShopInfoQueryCriteria{
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private Integer id;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private String account;
|
||||
|
||||
/** 精确 */
|
||||
@Query(type = Query.Type.LEFT_LIKE)
|
||||
private String shopName;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private String phone;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private String logo;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private String coverImg;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private String address;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private String businessTime;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private Long expireAt;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private Integer status;
|
||||
}
|
||||
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* 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.dto.shop;
|
||||
|
||||
import lombok.Data;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @website https://eladmin.vip
|
||||
* @description /
|
||||
* @author lyf
|
||||
* @date 2024-01-22
|
||||
**/
|
||||
@Data
|
||||
public class TbShopPurveyorDto implements Serializable {
|
||||
|
||||
/** 自增id */
|
||||
private Integer id;
|
||||
|
||||
/** 店铺Id */
|
||||
private String shopId;
|
||||
|
||||
/** 排序 */
|
||||
private Integer sort;
|
||||
|
||||
/** 名称 */
|
||||
private String name;
|
||||
|
||||
/** 联系人名字 */
|
||||
private String purveyorName;
|
||||
|
||||
/** 联系人电话 */
|
||||
private String purveyorTelephone;
|
||||
|
||||
/** 结算周期(日) */
|
||||
private Integer period;
|
||||
|
||||
/** 供应商地址 */
|
||||
private String address;
|
||||
|
||||
/** 标签 */
|
||||
private String tip;
|
||||
|
||||
/** 备注 */
|
||||
private String remark;
|
||||
|
||||
private Long createdAt;
|
||||
|
||||
private Long updatedAt;
|
||||
|
||||
/** 最后一次交易时间(主要做排序) */
|
||||
private Long lastTransactAt;
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* 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.dto.shop;
|
||||
|
||||
import lombok.Data;
|
||||
import java.util.List;
|
||||
import cn.ysk.cashier.annotation.Query;
|
||||
|
||||
/**
|
||||
* @website https://eladmin.vip
|
||||
* @author lyf
|
||||
* @date 2024-01-22
|
||||
**/
|
||||
@Data
|
||||
public class TbShopPurveyorQueryCriteria{
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private String shopId;
|
||||
|
||||
/** 精确 */
|
||||
@Query(type = Query.Type.LEFT_LIKE)
|
||||
private String purveyorName;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private String address;
|
||||
/** BETWEEN */
|
||||
@Query(type = Query.Type.BETWEEN)
|
||||
private List<Long> createdAt;
|
||||
}
|
||||
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* 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.dto.shop;
|
||||
|
||||
import lombok.Data;
|
||||
import java.math.BigDecimal;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @website https://eladmin.vip
|
||||
* @description /
|
||||
* @author lyf
|
||||
* @date 2024-01-23
|
||||
**/
|
||||
@Data
|
||||
public class TbShopPurveyorTransactDto implements Serializable {
|
||||
|
||||
/** 自增id */
|
||||
private Integer id;
|
||||
|
||||
/** 店铺Id */
|
||||
private String shopId;
|
||||
|
||||
/** 供应商名字 */
|
||||
private String purveyorName;
|
||||
|
||||
/** 供应商Id */
|
||||
private String purveyorId;
|
||||
|
||||
/** 0待付款1已付款 -1是否作废 */
|
||||
private Integer status;
|
||||
|
||||
/** 备注 */
|
||||
private String remark;
|
||||
|
||||
private Long createdAt;
|
||||
|
||||
private Long updatedAt;
|
||||
|
||||
/** 应付金额 */
|
||||
private BigDecimal totalAmount;
|
||||
|
||||
/** 待付款金额 */
|
||||
private BigDecimal waitAmount;
|
||||
|
||||
/** 已支付金额 */
|
||||
private BigDecimal paidAmount;
|
||||
|
||||
private Long paidAt;
|
||||
|
||||
private String type;
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
/*
|
||||
* 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.dto.shop;
|
||||
|
||||
import lombok.Data;
|
||||
import java.util.List;
|
||||
import cn.ysk.cashier.annotation.Query;
|
||||
|
||||
/**
|
||||
* @website https://eladmin.vip
|
||||
* @author lyf
|
||||
* @date 2024-01-23
|
||||
**/
|
||||
@Data
|
||||
public class TbShopPurveyorTransactQueryCriteria{
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private String shopId;
|
||||
|
||||
/** 精确 */
|
||||
@Query(type = Query.Type.LEFT_LIKE)
|
||||
private String purveyorName;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private String purveyorId;
|
||||
/**
|
||||
* purveyor进货 reject退货
|
||||
*/
|
||||
@Query
|
||||
private String type;
|
||||
|
||||
@Query
|
||||
private Integer status;
|
||||
|
||||
@Query(type = Query.Type.BETWEEN)
|
||||
private List<Long> createdAt;
|
||||
|
||||
private Integer page;
|
||||
|
||||
private Integer size;
|
||||
|
||||
private String sort;
|
||||
}
|
||||
@@ -0,0 +1,73 @@
|
||||
/*
|
||||
* 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.dto.shop;
|
||||
|
||||
import lombok.Data;
|
||||
import java.math.BigDecimal;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @website https://eladmin.vip
|
||||
* @description /
|
||||
* @author lyf
|
||||
* @date 2024-01-18
|
||||
**/
|
||||
@Data
|
||||
public class TbShopTableDto implements Serializable {
|
||||
|
||||
/** 自增id */
|
||||
private Integer id;
|
||||
|
||||
private String name;
|
||||
|
||||
private Integer shopId;
|
||||
|
||||
/** 客座数,允许的客座数量 */
|
||||
private Integer maxCapacity;
|
||||
|
||||
/** 台桌排序 */
|
||||
private Integer sort;
|
||||
|
||||
/** 区域Id */
|
||||
private Integer areaId;
|
||||
|
||||
/** 是否接受网络预定 */
|
||||
private Integer isPredate;
|
||||
|
||||
/** 网络预定台桌支付金额 */
|
||||
private BigDecimal predateAmount;
|
||||
|
||||
/** subscribe预定,closed--关台, opening 开台中,cleaning 台桌清理中 */
|
||||
private String status;
|
||||
|
||||
/** 台桌计算价格类型,0-低消类型,amount 2计时类型 */
|
||||
private Integer type;
|
||||
|
||||
/** 当type=0时,amount生效,为台桌的低消金额 */
|
||||
private BigDecimal amount;
|
||||
|
||||
/** 当type=2时perhour生效,为计时类型,每小时收款金额 */
|
||||
private BigDecimal perhour;
|
||||
|
||||
/** 台桌展示图---预留 */
|
||||
private String view;
|
||||
|
||||
private Long createdAt;
|
||||
|
||||
private Long updatedAt;
|
||||
|
||||
private String qrcode;
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
/*
|
||||
* 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.dto.shop;
|
||||
|
||||
import lombok.Data;
|
||||
import cn.ysk.cashier.annotation.Query;
|
||||
|
||||
/**
|
||||
* @website https://eladmin.vip
|
||||
* @author lyf
|
||||
* @date 2024-01-18
|
||||
**/
|
||||
@Data
|
||||
public class TbShopTableQueryCriteria{
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private String name;
|
||||
|
||||
/** 精确 */
|
||||
@Query
|
||||
private Integer shopId;
|
||||
|
||||
@Query
|
||||
private Integer areaId;
|
||||
}
|
||||
@@ -0,0 +1,56 @@
|
||||
/*
|
||||
* 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.dto.shop;
|
||||
|
||||
import lombok.Data;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @website https://eladmin.vip
|
||||
* @description /
|
||||
* @author lyf
|
||||
* @date 2024-01-02
|
||||
**/
|
||||
@Data
|
||||
public class TbShopUnitDto implements Serializable {
|
||||
|
||||
/** id */
|
||||
private Integer id;
|
||||
|
||||
/** 单位名称 */
|
||||
private String name;
|
||||
|
||||
/** 小数位(个数大于0,表示小数据精度位数) */
|
||||
private Integer decimalsDigits;
|
||||
|
||||
/** 单位类型(weight代表重量,小数单位,为number代表个数) */
|
||||
private String unitType;
|
||||
|
||||
/** 0后台添加 -1系统默认 (公斤、瓶) */
|
||||
private Integer isSystem;
|
||||
|
||||
/** 预留字段1-正常 */
|
||||
private Integer status;
|
||||
|
||||
private String merchantId;
|
||||
|
||||
/** 店铺Id */
|
||||
private String shopId;
|
||||
|
||||
private Long createdAt;
|
||||
|
||||
private Long updatedAt;
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
/*
|
||||
* 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.dto.shop;
|
||||
|
||||
import lombok.Data;
|
||||
import cn.ysk.cashier.annotation.Query;
|
||||
|
||||
/**
|
||||
* @website https://eladmin.vip
|
||||
* @author lyf
|
||||
* @date 2024-01-02
|
||||
**/
|
||||
@Data
|
||||
public class TbShopUnitQueryCriteria{
|
||||
@Query
|
||||
private String name;
|
||||
|
||||
@Query
|
||||
private String shopId;
|
||||
}
|
||||
@@ -0,0 +1,111 @@
|
||||
/*
|
||||
* 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.dto.shop;
|
||||
|
||||
import lombok.Data;
|
||||
import java.math.BigDecimal;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @website https://eladmin.vip
|
||||
* @description /
|
||||
* @author lyf
|
||||
* @date 2024-03-01
|
||||
**/
|
||||
@Data
|
||||
public class TbShopUserDto implements Serializable {
|
||||
|
||||
/** (随机) */
|
||||
private Integer id;
|
||||
|
||||
/** 钱包余额 */
|
||||
private BigDecimal amount;
|
||||
|
||||
/** 授权金额 */
|
||||
private BigDecimal creditAmount;
|
||||
|
||||
/** 消费累计 */
|
||||
private BigDecimal consumeAmount;
|
||||
|
||||
/** 消费数量累计 */
|
||||
private Integer consumeNumber;
|
||||
|
||||
/** 等级积分 */
|
||||
private BigDecimal levelConsume;
|
||||
|
||||
/** 0-不可使用 1可使用 */
|
||||
private Integer status;
|
||||
|
||||
/** 代理Id */
|
||||
private String merchantId;
|
||||
|
||||
/** 店铺Id */
|
||||
private String shopId;
|
||||
|
||||
/** 用户Id */
|
||||
private String userId;
|
||||
|
||||
/** 上级Id */
|
||||
private String parentId;
|
||||
|
||||
/** 上级的层级 */
|
||||
private String parentLevel;
|
||||
|
||||
/** 真实名字 */
|
||||
private String name;
|
||||
|
||||
private String headImg;
|
||||
|
||||
/** 性别 */
|
||||
private Integer sex;
|
||||
|
||||
/** 生日 */
|
||||
private String birthDay;
|
||||
|
||||
/** 联系电话 */
|
||||
private String telephone;
|
||||
|
||||
/** 是否会员, */
|
||||
private Integer isVip;
|
||||
|
||||
/** 会员编号 */
|
||||
private String code;
|
||||
|
||||
/** 是否通过关注而成为会员的,此字段固定后不改 */
|
||||
private Integer isAttention;
|
||||
|
||||
/** 关注时间 */
|
||||
private Integer attentionAt;
|
||||
|
||||
/** 是否股东(分销商) */
|
||||
private Integer isShareholder;
|
||||
|
||||
/** 层级1-顶级 2-次级 3最低 */
|
||||
private Integer level;
|
||||
|
||||
/** 分销类型 auto-自动获取 set手动设置 charge充值 */
|
||||
private String distributeType;
|
||||
|
||||
/** 排序 */
|
||||
private Integer sort;
|
||||
|
||||
private Long createdAt;
|
||||
|
||||
private Long updatedAt;
|
||||
|
||||
/** 小程序openId */
|
||||
private String miniOpenId;
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
/*
|
||||
* 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.dto.shop;
|
||||
|
||||
import lombok.Data;
|
||||
import cn.ysk.cashier.annotation.Query;
|
||||
|
||||
/**
|
||||
* @website https://eladmin.vip
|
||||
* @author lyf
|
||||
* @date 2024-03-01
|
||||
**/
|
||||
@Data
|
||||
public class TbShopUserQueryCriteria{
|
||||
|
||||
/** 模糊 */
|
||||
@Query(type = Query.Type.INNER_LIKE)
|
||||
private String name;
|
||||
|
||||
/** 模糊 */
|
||||
@Query(type = Query.Type.INNER_LIKE)
|
||||
private String telephone;
|
||||
|
||||
@Query
|
||||
private String shopId;
|
||||
@Query
|
||||
private Integer isVip=1;
|
||||
}
|
||||
Reference in New Issue
Block a user