后台日志管理,优惠卷列表以及增加优惠卷

This commit is contained in:
liuyingfang
2024-03-21 09:20:09 +08:00
parent 42f401469a
commit 1981baeb94
15 changed files with 795 additions and 0 deletions

View File

@@ -0,0 +1,125 @@
/*
* 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-20
**/
@Data
public class TbMerchantCouponDto implements Serializable {
/** 自增 */
private Integer id;
/** 状态0-关闭 1 正常 */
private Integer status;
/** 优惠券名称 */
private String title;
private String templateId;
private String shopId;
private String shopSnap;
/** 开始时间 */
private Long fromTime;
/** 到期时间 */
private Long toTime;
/** 限领数量 */
private Integer limitNumber;
/** 发放数量 */
private Integer number;
/** 剩余数量 */
private Integer leftNumber;
/** 优惠金额 */
private BigDecimal amount;
/** 订单满赠金额 */
private BigDecimal limitAmount;
/** 是否显示0-不显示 1显示 */
private Integer isShow;
/** 图标 */
private String pic;
/** 0-满减 1-折扣 */
private Integer type;
/** 折扣 ,一位小数 */
private Float ratio;
/** 最大折扣金额 */
private BigDecimal maxRatioAmount;
/** 优惠券途径,首充|分销 */
private String track;
/** 品类product 商品券 ---cateogry 品类券common -通 用券 */
private String classType;
/** 有效期类型0-toTime有效 1-effectDays有效 */
private Integer effectType;
/** 领取之日有效天数 */
private Integer effectDays;
/** 关联商品Id */
private String relationIds;
private String relationList;
/** 发放人 */
private String editor;
/** 说明 */
private String note;
private Long createdAt;
private Long updatedAt;
/** 支持堂食 */
private Integer furnishMeal;
/** 支持配送 */
private Integer furnishExpress;
/** 支持自提 */
private Integer furnishDraw;
/** 支持虚拟 */
private Integer furnishVir;
private Integer disableDistribute;
/** 商户Id */
private String merchantId;
}

View File

@@ -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.shop;
import lombok.Data;
import java.util.List;
import cn.ysk.cashier.annotation.Query;
/**
* @website https://eladmin.vip
* @author lyf
* @date 2024-03-20
**/
@Data
public class TbMerchantCouponQueryCriteria{
/** 精确 */
@Query
private String title;
/** 精确 */
@Query
private String classType;
}