parent
2c7e1a97df
commit
9cadb9afd7
@ -1,9 +1,9 @@
|
||||
package cn.iocoder.mall.demo.rpc.api;
|
||||
|
||||
import cn.iocoder.mall.demo.rpc.vo.DemoProductVO;
|
||||
import cn.iocoder.mall.demo.rpc.dto.DemoProductDTO;
|
||||
|
||||
public interface DemoProductRpcService {
|
||||
|
||||
DemoProductVO get(Integer id);
|
||||
DemoProductDTO get(Integer id);
|
||||
|
||||
}
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
package cn.iocoder.mall.demo.rpc.api;
|
||||
|
||||
import cn.iocoder.mall.demo.rpc.vo.DemoUserVO;
|
||||
import cn.iocoder.mall.demo.rpc.dto.DemoUserDTO;
|
||||
|
||||
public interface DemoUserRpcService {
|
||||
|
||||
DemoUserVO get(Integer id);
|
||||
DemoUserDTO get(Integer id);
|
||||
|
||||
}
|
||||
|
||||
@ -1,12 +1,12 @@
|
||||
package cn.iocoder.mall.demo.rpc.vo;
|
||||
package cn.iocoder.mall.demo.rpc.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
@ApiModel("Demo 商品 BO")
|
||||
@ApiModel("Demo 商品 DTO")
|
||||
@Data
|
||||
public class DemoProductVO {
|
||||
public class DemoProductDTO {
|
||||
|
||||
@ApiModelProperty(value = "编号", required = true, example = "1")
|
||||
private Integer id;
|
||||
@ -1,11 +1,11 @@
|
||||
package cn.iocoder.mall.demo.rpc.vo;
|
||||
package cn.iocoder.mall.demo.rpc.dto;
|
||||
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class DemoUserVO {
|
||||
public class DemoUserDTO {
|
||||
|
||||
/**
|
||||
* 用户编号
|
||||
Loading…
Reference in new issue