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