订单模块Bo部分实体

pull/1/head
wangtongzhou 2019-05-15 20:23:07 +08:00
parent 3c43274176
commit 7a069ede43
3 changed files with 349 additions and 0 deletions

View File

@ -0,0 +1,87 @@
package cn.iocoder.mall.order.api.bo;
import lombok.Data;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
/**
*
*
*
* @author wtz
* @time 2019-05-14 20:00:00
*/
@Data
@Accessors(chain = true)
public class OrderCommentBo implements Serializable {
/**
*
*/
private Integer total;
/**
*
*/
private Integer positiveTotal;
/**
*
*/
private Integer moderateTotal;
/**
*
*/
private Integer negativeTotal;
/**
* id
*/
private Integer id;
/**
*
*/
private String userAvatar;
/**
*
*/
private String userNickName;
/**
*
*/
private Integer star;
/**
*
*/
private String commentContent;
/**
*
*/
private String commentPics;
/**
*
*/
private Integer replayCount;
/**
*
*/
private Integer collectCount;
/**
*
*/
private Date createTime;
}

View File

@ -0,0 +1,158 @@
package cn.iocoder.mall.order.api.bo;
import lombok.Data;
import lombok.experimental.Accessors;
import java.util.Date;
import java.util.List;
/**
*
*
*
* @author wtz
* @time 2019-05-16 18:40
*
*/
public class OrderCommentInfoBO {
/**
* id
*/
private Integer id;
/**
*
*/
private String userAvatar;
/**
*
*/
private String userNickName;
/**
*
*/
private Integer star;
/**
*
*/
private String commentContent;
/**
*
*/
private String commentPics;
/**
*
*/
private Integer replayCount;
/**
*
*/
private Integer collectCount;
/**
*
*/
private Date createTime;
/**
* SKUid
*/
private int productSkuId;
/**
* SKU
*/
private String productSkuAttrs;
/**
* SKU
*/
private String productSkuPrice;
/**
* SKU
*/
private String productSkuPicUrl;
/**
*
*/
List<OrderCommentReplayMerchantItem> orderCommentReplayMerchantItems;
/**
*
*/
List<OrderCommentReplayUserItem> orderCommentReplayUserItems;
@Data
@Accessors(chain = true)
private static class OrderCommentReplayMerchantItem{
/**
*
*/
private String replyContent;
}
@Data
@Accessors(chain = true)
private static class OrderCommentReplayUserItem{
/**
* id
*/
private Integer id;
/**
*
*/
private Integer replyType;
/**
*
*/
private String replyContent;
/**
* id
*/
private int replyUserId;
/**
*
*/
private String replyUserNickName;
/**
*
*/
private String replyUserAvatar;
/**
*
*/
private int replyCollectCount;
/**
*
*/
private String parentUserNickName;
/**
*
*/
private Date createTime;
}
}

View File

@ -0,0 +1,104 @@
package cn.iocoder.mall.order.api.bo;
import lombok.Data;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
/**
*
*
*
* @author wtz
* @time 2019-05-14 20:00:00
*/
@Data
@Accessors(chain = true)
public class OrderCommentPageBo implements Serializable {
/**
*
*/
private Integer total;
/**
*
*/
private Integer positiveTotal;
/**
*
*/
private Integer moderateTotal;
/**
*
*/
private Integer negativeTotal;
/**
*
*/
private List<OrderCommentItem> orderCommentItems;
@Data
@Accessors(chain = true)
private static class OrderCommentItem{
/**
* id
*/
private Integer id;
/**
*
*/
private String userAvatar;
/**
*
*/
private String userNickName;
/**
*
*/
private Integer star;
/**
*
*/
private String commentContent;
/**
*
*/
private String commentPics;
/**
*
*/
private Integer replayCount;
/**
*
*/
private Integer collectCount;
/**
*
*/
private Date createTime;
/**
*
*
*/
private String MerchantRaplayContent;
}
}