mirror of
https://gitee.com/likeadmin/likeadmin_java.git
synced 2026-06-20 09:12:55 +08:00
增加支付方式配置
This commit is contained in:
@@ -6,9 +6,11 @@ import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
@Data
|
||||
@ApiModel("支付配置实体")
|
||||
public class DevPayConfig {
|
||||
public class DevPayConfig implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
package com.mdd.common.entity.setting;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
@Data
|
||||
@ApiModel("支付方式实体")
|
||||
public class DevPayWay implements Serializable {
|
||||
|
||||
@TableId(value="id", type= IdType.AUTO)
|
||||
@ApiModelProperty("ID")
|
||||
private Integer id;
|
||||
|
||||
@ApiModelProperty("支付配置ID")
|
||||
private Integer payConfigId;
|
||||
|
||||
@ApiModelProperty("场景编码: [1=微信小程序, 2=微信公众号, 3=H5, 4=PC, 5=APP]")
|
||||
private Integer scene;
|
||||
|
||||
@ApiModelProperty("默认支付: [0=否的, 1=是的]")
|
||||
private Integer isDefault;
|
||||
|
||||
@ApiModelProperty("方式状态: [0=关闭, 1=开启]")
|
||||
private Integer status;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package com.mdd.common.mapper.setting;
|
||||
|
||||
import com.mdd.common.core.basics.IBaseMapper;
|
||||
import com.mdd.common.entity.setting.DevPayWay;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* 支付方式Mapper
|
||||
*/
|
||||
@Mapper
|
||||
public interface DevPayWayMapper extends IBaseMapper<DevPayWay> {
|
||||
}
|
||||
Reference in New Issue
Block a user