店铺会员返回优惠券数量

This commit is contained in:
张松
2025-02-28 13:59:04 +08:00
parent 5499e452fd
commit 9a3ba7dff4
5 changed files with 63 additions and 12 deletions

View File

@@ -0,0 +1,32 @@
package com.czg.account.dto.shopuser;
import com.czg.account.entity.ShopUser;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.math.BigDecimal;
/**
* @author Administrator
*/
@EqualsAndHashCode(callSuper = true)
@Data
public class ShopUserDetailDTO extends ShopUser {
/**
* 店铺logo
*/
private String logo;
/**
* 店铺名
*/
private String shopName;
/**
* 优惠券数量
*/
private long couponNum;
/**
* 店铺id
*/
private Long shopId;
}

View File

@@ -37,4 +37,6 @@ public interface ShopUserService extends IService<ShopUser> {
CzgResult<String> getCode(long userInfoId, long shopId);
boolean join(Long shopId, Long userId, ShopUserAddDTO shopUserAddDTO);
ShopUserDetailDTO getInfo(Long shopId, long userId);
}