| | |
| | | package com.yeshi.fanli.dto.order;
|
| | |
|
| | | import com.yeshi.fanli.entity.order.CommonOrder;
|
| | |
|
| | | public class CommonOrderAddResultDTO {
|
| | |
|
| | | public final static int TYPE_ADD = 1;
|
| | | public final static int TYPE_UPDATE = 2;
|
| | | public final static int TYPE_NOUPDATE = 3;
|
| | |
|
| | | private CommonOrder commonOrder;
|
| | | private int type;
|
| | |
|
| | | public CommonOrderAddResultDTO() {
|
| | |
|
| | | }
|
| | |
|
| | | public CommonOrderAddResultDTO(CommonOrder commonOrder, int type) {
|
| | | this.commonOrder = commonOrder;
|
| | | this.type = type;
|
| | | }
|
| | |
|
| | | public CommonOrder getCommonOrder() {
|
| | | return commonOrder;
|
| | | }
|
| | |
|
| | | public void setCommonOrder(CommonOrder commonOrder) {
|
| | | this.commonOrder = commonOrder;
|
| | | }
|
| | |
|
| | | public int getType() {
|
| | | return type;
|
| | | }
|
| | |
|
| | | public void setType(int type) {
|
| | | this.type = type;
|
| | | }
|
| | | }
|
| | | package com.yeshi.fanli.dto.order; |
| | | |
| | | import com.yeshi.fanli.entity.order.CommonOrder; |
| | | |
| | | public class CommonOrderAddResultDTO { |
| | | |
| | | public final static int TYPE_ADD = 1; |
| | | public final static int TYPE_UPDATE = 2; |
| | | public final static int TYPE_NOUPDATE = 3; |
| | | |
| | | private CommonOrder commonOrder; |
| | | private int type; |
| | | |
| | | public CommonOrderAddResultDTO() { |
| | | |
| | | } |
| | | |
| | | public CommonOrderAddResultDTO(CommonOrder commonOrder, int type) { |
| | | this.commonOrder = commonOrder; |
| | | this.type = type; |
| | | } |
| | | |
| | | public CommonOrder getCommonOrder() { |
| | | return commonOrder; |
| | | } |
| | | |
| | | public void setCommonOrder(CommonOrder commonOrder) { |
| | | this.commonOrder = commonOrder; |
| | | } |
| | | |
| | | public int getType() { |
| | | return type; |
| | | } |
| | | |
| | | public void setType(int type) { |
| | | this.type = type; |
| | | } |
| | | } |