|
|
@ -0,0 +1,150 @@
|
|
|
|
|
|
|
|
package com.luoo.music.dto.response;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
|
|
|
|
|
import com.luoo.music.pojo.SongInfo;
|
|
|
|
|
|
|
|
import com.luoo.music.pojo.Tag;
|
|
|
|
|
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
|
|
|
|
|
import lombok.AllArgsConstructor;
|
|
|
|
|
|
|
|
import lombok.Data;
|
|
|
|
|
|
|
|
import lombok.EqualsAndHashCode;
|
|
|
|
|
|
|
|
import lombok.NoArgsConstructor;
|
|
|
|
|
|
|
|
import org.springframework.data.annotation.CreatedDate;
|
|
|
|
|
|
|
|
import org.springframework.data.annotation.LastModifiedDate;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import javax.persistence.Transient;
|
|
|
|
|
|
|
|
import java.io.Serializable;
|
|
|
|
|
|
|
|
import java.math.BigDecimal;
|
|
|
|
|
|
|
|
import java.time.LocalDateTime;
|
|
|
|
|
|
|
|
import java.util.Date;
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* @Author: yawei.huang
|
|
|
|
|
|
|
|
* @Package: com.luoo.music.dto.response
|
|
|
|
|
|
|
|
* @Project: luoo_parent
|
|
|
|
|
|
|
|
* @Date: 2024/6/19 13:44
|
|
|
|
|
|
|
|
* @Filename: AlbumResultDTO
|
|
|
|
|
|
|
|
* @Describe:
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
@Data
|
|
|
|
|
|
|
|
@NoArgsConstructor
|
|
|
|
|
|
|
|
@AllArgsConstructor
|
|
|
|
|
|
|
|
@EqualsAndHashCode
|
|
|
|
|
|
|
|
public class AlbumResultDTO implements Serializable {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private String id;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* 专辑名称
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
@ApiModelProperty("专辑名称")
|
|
|
|
|
|
|
|
private String name;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* 专辑类型
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
@ApiModelProperty("专辑类型")
|
|
|
|
|
|
|
|
private Integer type;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* 专辑封面
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
@ApiModelProperty("专辑封面")
|
|
|
|
|
|
|
|
private String image;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* 专辑状态
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
@ApiModelProperty("专辑状态 -1:不可抗力原因不允许显示 0:新建 1:待审核 2:退回 3:待上架 4:已上架 5:已删除")
|
|
|
|
|
|
|
|
private Integer state;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* 发行日期
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
@ApiModelProperty("发行日期")
|
|
|
|
|
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
|
|
|
|
|
|
|
private Date publishDate;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* 主要风格
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
@ApiModelProperty("风格str")
|
|
|
|
|
|
|
|
private String mainStyle;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* 专辑条码
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
@ApiModelProperty("专辑条码")
|
|
|
|
|
|
|
|
private String barcode;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* 专辑描述
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
@ApiModelProperty("专辑描述")
|
|
|
|
|
|
|
|
private String description;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* 创建时间
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
|
|
|
|
|
|
|
@CreatedDate
|
|
|
|
|
|
|
|
@ApiModelProperty("创建时间")
|
|
|
|
|
|
|
|
private LocalDateTime createTime;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* 修改时间
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
|
|
|
|
|
|
|
@LastModifiedDate
|
|
|
|
|
|
|
|
@ApiModelProperty("修改时间")
|
|
|
|
|
|
|
|
private LocalDateTime updateTime;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* 音乐人id
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
@ApiModelProperty("音乐人id")
|
|
|
|
|
|
|
|
private String artistId;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* 音乐人昵称
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
@ApiModelProperty("音乐人昵称")
|
|
|
|
|
|
|
|
private String artistName;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* 创建人
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
@ApiModelProperty("创建人")
|
|
|
|
|
|
|
|
private String createUser;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* 修改人
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
@ApiModelProperty("修改人")
|
|
|
|
|
|
|
|
private String updateUser;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// @ApiModelProperty("收费类型 1-下载 2-试听及下载")
|
|
|
|
|
|
|
|
// private Integer chargeType;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Transient
|
|
|
|
|
|
|
|
@ApiModelProperty("专辑歌曲绑定关系")
|
|
|
|
|
|
|
|
private List<SongInfo> songList;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Transient
|
|
|
|
|
|
|
|
@ApiModelProperty("价格")
|
|
|
|
|
|
|
|
private BigDecimal price;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Transient
|
|
|
|
|
|
|
|
@ApiModelProperty("风格列表")
|
|
|
|
|
|
|
|
private List<Tag> style;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Transient
|
|
|
|
|
|
|
|
@ApiModelProperty("专辑状态-中文")
|
|
|
|
|
|
|
|
private String stateStr;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty("专辑版本")
|
|
|
|
|
|
|
|
private Integer version;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty("播放次数")
|
|
|
|
|
|
|
|
private Long playsCount;
|
|
|
|
|
|
|
|
}
|