支付方式接口
This commit is contained in:
@@ -34,11 +34,6 @@ public class ShopPayTypeDTO implements Serializable {
|
||||
*/
|
||||
private Integer isShowShortcut;
|
||||
|
||||
/**
|
||||
* 店铺id
|
||||
*/
|
||||
private String shopId;
|
||||
|
||||
/**
|
||||
* 0允许退款 1-不允许退款
|
||||
*/
|
||||
|
||||
@@ -0,0 +1,66 @@
|
||||
|
||||
package com.czg.account.dto.paytype;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.io.Serial;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 店铺支付类型 实体类。
|
||||
*
|
||||
* @author zs
|
||||
* @since 2025-02-26
|
||||
*/
|
||||
@Data
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class ShopPayTypeAddDTO {
|
||||
|
||||
/**
|
||||
* 是否快捷展示1是0否
|
||||
*/
|
||||
private Integer isShowShortcut;
|
||||
|
||||
|
||||
/**
|
||||
* 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 Integer sorts;
|
||||
|
||||
|
||||
/**
|
||||
* 图标
|
||||
*/
|
||||
private String icon;
|
||||
|
||||
}
|
||||
@@ -15,4 +15,6 @@ public interface ShopPayTypeService extends IService<ShopPayType> {
|
||||
|
||||
List<ShopPayType> getList(Long shopId);
|
||||
|
||||
Boolean add(Long shopId, ShopPayType shopPayType);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user