|
@@ -1,6 +1,7 @@
|
|
package com.yonge.cooleshow.biz.dal.wrapper;
|
|
package com.yonge.cooleshow.biz.dal.wrapper;
|
|
|
|
|
|
import com.alibaba.fastjson.JSON;
|
|
import com.alibaba.fastjson.JSON;
|
|
|
|
+import com.baomidou.mybatisplus.annotation.TableField;
|
|
import com.microsvc.toolkit.common.response.paging.QueryInfo;
|
|
import com.microsvc.toolkit.common.response.paging.QueryInfo;
|
|
import com.yonge.cooleshow.biz.dal.enums.SubjectTypeEnum;
|
|
import com.yonge.cooleshow.biz.dal.enums.SubjectTypeEnum;
|
|
import io.swagger.annotations.ApiModel;
|
|
import io.swagger.annotations.ApiModel;
|
|
@@ -18,6 +19,8 @@ import lombok.Data;
|
|
import lombok.NoArgsConstructor;
|
|
import lombok.NoArgsConstructor;
|
|
import org.apache.commons.lang3.StringUtils;
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
|
|
|
|
|
+import javax.validation.constraints.NotNull;
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* 机构专辑
|
|
* 机构专辑
|
|
* 2023-07-21 17:32:49
|
|
* 2023-07-21 17:32:49
|
|
@@ -101,6 +104,9 @@ public class TenantAlbumWrapper {
|
|
@ApiModelProperty("机构价格")
|
|
@ApiModelProperty("机构价格")
|
|
private BigDecimal salePrice;
|
|
private BigDecimal salePrice;
|
|
|
|
|
|
|
|
+ @ApiModelProperty("原价")
|
|
|
|
+ private BigDecimal costPrice;
|
|
|
|
+
|
|
@ApiModelProperty("购买周期")
|
|
@ApiModelProperty("购买周期")
|
|
private Integer purchaseCycle;
|
|
private Integer purchaseCycle;
|
|
|
|
|
|
@@ -189,4 +195,55 @@ public class TenantAlbumWrapper {
|
|
@ApiModelProperty(value = "采购机构", hidden = true)
|
|
@ApiModelProperty(value = "采购机构", hidden = true)
|
|
private Long tenantId;
|
|
private Long tenantId;
|
|
|
|
|
|
- }}
|
|
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ @Data
|
|
|
|
+ @Builder
|
|
|
|
+ @NoArgsConstructor
|
|
|
|
+ @AllArgsConstructor
|
|
|
|
+ @ApiModel(" 机构专辑新增")
|
|
|
|
+ public static class TenantAlbumVo {
|
|
|
|
+ @ApiModelProperty("机构ID")
|
|
|
|
+ private Long tenantId;
|
|
|
|
+
|
|
|
|
+ @ApiModelProperty("专辑名称")
|
|
|
|
+ @NotNull
|
|
|
|
+ private String name;
|
|
|
|
+
|
|
|
|
+ @ApiModelProperty("机构名称")
|
|
|
|
+ private String tenantName;
|
|
|
|
+
|
|
|
|
+ @ApiModelProperty("专辑介绍")
|
|
|
|
+ @NotNull
|
|
|
|
+ private String describe;
|
|
|
|
+
|
|
|
|
+ @ApiModelProperty("专辑封面")
|
|
|
|
+ @NotNull
|
|
|
|
+ private String coverImg;
|
|
|
|
+
|
|
|
|
+ @ApiModelProperty("曲目声部分类(多个,分隔)")
|
|
|
|
+ private String subjectTypes;
|
|
|
|
+
|
|
|
|
+ @ApiModelProperty("曲目相关信息")
|
|
|
|
+ private List<MusicSheetData> musicSheetData = new ArrayList<>();
|
|
|
|
+
|
|
|
|
+ @ApiModelProperty("机构价格")
|
|
|
|
+ private BigDecimal salePrice;
|
|
|
|
+
|
|
|
|
+ @ApiModelProperty("原价")
|
|
|
|
+ private BigDecimal costPrice;
|
|
|
|
+
|
|
|
|
+ @ApiModelProperty("购买周期")
|
|
|
|
+ private Integer purchaseCycle;
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ @Data
|
|
|
|
+ public static class MusicSheetData {
|
|
|
|
+ private SubjectTypeEnum subjectType;
|
|
|
|
+
|
|
|
|
+ private List<Long> musicSheetIdList = new ArrayList<>();
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+}
|