店铺会员返回优惠券数量
This commit is contained in:
@@ -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;
|
||||
|
||||
}
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user