|
@@ -1,17 +1,20 @@
|
|
|
package com.yonge.cooleshow.biz.dal.entity;
|
|
|
|
|
|
-import com.yonge.cooleshow.biz.dal.enums.*;
|
|
|
-import com.yonge.cooleshow.common.entity.BaseEntity;
|
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
|
+import com.yonge.cooleshow.biz.dal.enums.AuditEnum;
|
|
|
+import com.yonge.cooleshow.biz.dal.enums.ChargeTypeEnum;
|
|
|
+import com.yonge.cooleshow.biz.dal.enums.StateEnum;
|
|
|
+import com.yonge.cooleshow.biz.dal.enums.YesOrNoEnum;
|
|
|
import io.swagger.annotations.ApiModel;
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
-import org.apache.commons.lang3.builder.ToStringBuilder;
|
|
|
|
|
|
import javax.validation.constraints.NotBlank;
|
|
|
import javax.validation.constraints.NotNull;
|
|
|
import javax.validation.constraints.Size;
|
|
|
+import java.io.Serializable;
|
|
|
+import java.math.BigDecimal;
|
|
|
import java.util.Date;
|
|
|
|
|
|
/**
|
|
@@ -21,7 +24,7 @@ import java.util.Date;
|
|
|
* @version v1.0
|
|
|
**/
|
|
|
@ApiModel(value = "music_sheet-曲谱表")
|
|
|
-public class MusicSheet extends BaseEntity {
|
|
|
+public class MusicSheet implements Serializable {
|
|
|
|
|
|
@TableId(value = "id_", type = IdType.AUTO)
|
|
|
@ApiModelProperty(value = "主键id")
|
|
@@ -134,234 +137,204 @@ public class MusicSheet extends BaseEntity {
|
|
|
@ApiModelProperty(value = "备注")
|
|
|
private String remark; //备注,填写未通过审核的原因
|
|
|
|
|
|
-
|
|
|
- public MusicSheet setId(Long id) {
|
|
|
- this.id = id;
|
|
|
- return this;
|
|
|
- }
|
|
|
-
|
|
|
public Long getId() {
|
|
|
- return this.id;
|
|
|
+ return id;
|
|
|
}
|
|
|
|
|
|
- public MusicSheet setMusicSheetName(String musicSheetName) {
|
|
|
- this.musicSheetName = musicSheetName;
|
|
|
- return this;
|
|
|
+ public void setId(Long id) {
|
|
|
+ this.id = id;
|
|
|
}
|
|
|
|
|
|
public String getMusicSheetName() {
|
|
|
- return this.musicSheetName;
|
|
|
+ return musicSheetName;
|
|
|
}
|
|
|
|
|
|
- public MusicSheet setUserId(Long userId) {
|
|
|
- this.userId = userId;
|
|
|
- return this;
|
|
|
+ public void setMusicSheetName(String musicSheetName) {
|
|
|
+ this.musicSheetName = musicSheetName;
|
|
|
}
|
|
|
|
|
|
public Long getUserId() {
|
|
|
- return this.userId;
|
|
|
+ return userId;
|
|
|
}
|
|
|
|
|
|
- public MusicSheet setComposer(String composer) {
|
|
|
- this.composer = composer;
|
|
|
- return this;
|
|
|
+ public void setUserId(Long userId) {
|
|
|
+ this.userId = userId;
|
|
|
}
|
|
|
|
|
|
public String getComposer() {
|
|
|
- return this.composer;
|
|
|
+ return composer;
|
|
|
}
|
|
|
|
|
|
- public MusicSheet setMusicSubject(String musicSubject) {
|
|
|
- this.musicSubject = musicSubject;
|
|
|
- return this;
|
|
|
+ public void setComposer(String composer) {
|
|
|
+ this.composer = composer;
|
|
|
}
|
|
|
|
|
|
public String getMusicSubject() {
|
|
|
- return this.musicSubject;
|
|
|
+ return musicSubject;
|
|
|
}
|
|
|
|
|
|
- public MusicSheet setAudioType(String audioType) {
|
|
|
- this.audioType = audioType;
|
|
|
- return this;
|
|
|
+ public void setMusicSubject(String musicSubject) {
|
|
|
+ this.musicSubject = musicSubject;
|
|
|
}
|
|
|
|
|
|
public String getAudioType() {
|
|
|
- return this.audioType;
|
|
|
+ return audioType;
|
|
|
}
|
|
|
|
|
|
- public MusicSheet setMusicTag(String musicTag) {
|
|
|
- this.musicTag = musicTag;
|
|
|
- return this;
|
|
|
+ public void setAudioType(String audioType) {
|
|
|
+ this.audioType = audioType;
|
|
|
}
|
|
|
|
|
|
public String getMusicTag() {
|
|
|
- return this.musicTag;
|
|
|
+ return musicTag;
|
|
|
}
|
|
|
|
|
|
- public MusicSheet setPlaySpeed(Integer playSpeed) {
|
|
|
- this.playSpeed = playSpeed;
|
|
|
- return this;
|
|
|
+ public void setMusicTag(String musicTag) {
|
|
|
+ this.musicTag = musicTag;
|
|
|
}
|
|
|
|
|
|
public Integer getPlaySpeed() {
|
|
|
- return this.playSpeed;
|
|
|
+ return playSpeed;
|
|
|
}
|
|
|
|
|
|
- public MusicSheet setCanEvaluate(YesOrNoEnum canEvaluate) {
|
|
|
- this.canEvaluate = canEvaluate;
|
|
|
- return this;
|
|
|
+ public void setPlaySpeed(Integer playSpeed) {
|
|
|
+ this.playSpeed = playSpeed;
|
|
|
}
|
|
|
|
|
|
public YesOrNoEnum getCanEvaluate() {
|
|
|
- return this.canEvaluate;
|
|
|
+ return canEvaluate;
|
|
|
}
|
|
|
|
|
|
- public MusicSheet setShowFingering(YesOrNoEnum showFingering) {
|
|
|
- this.showFingering = showFingering;
|
|
|
- return this;
|
|
|
+ public void setCanEvaluate(YesOrNoEnum canEvaluate) {
|
|
|
+ this.canEvaluate = canEvaluate;
|
|
|
}
|
|
|
|
|
|
public YesOrNoEnum getShowFingering() {
|
|
|
- return this.showFingering;
|
|
|
+ return showFingering;
|
|
|
}
|
|
|
|
|
|
- public MusicSheet setChargeType(ChargeTypeEnum chargeType) {
|
|
|
- this.chargeType = chargeType;
|
|
|
- return this;
|
|
|
+ public void setShowFingering(YesOrNoEnum showFingering) {
|
|
|
+ this.showFingering = showFingering;
|
|
|
}
|
|
|
|
|
|
public ChargeTypeEnum getChargeType() {
|
|
|
- return this.chargeType;
|
|
|
+ return chargeType;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setChargeType(ChargeTypeEnum chargeType) {
|
|
|
+ this.chargeType = chargeType;
|
|
|
+ }
|
|
|
+
|
|
|
+ public StateEnum getState() {
|
|
|
+ return state;
|
|
|
}
|
|
|
|
|
|
- public MusicSheet setAuditStatus(AuditEnum auditStatus) {
|
|
|
- this.auditStatus = auditStatus;
|
|
|
- return this;
|
|
|
+ public void setState(StateEnum state) {
|
|
|
+ this.state = state;
|
|
|
}
|
|
|
|
|
|
public AuditEnum getAuditStatus() {
|
|
|
- return this.auditStatus;
|
|
|
+ return auditStatus;
|
|
|
}
|
|
|
|
|
|
- public MusicSheet setSortNumber(Integer sortNumber) {
|
|
|
- this.sortNumber = sortNumber;
|
|
|
- return this;
|
|
|
+ public void setAuditStatus(AuditEnum auditStatus) {
|
|
|
+ this.auditStatus = auditStatus;
|
|
|
}
|
|
|
|
|
|
public Integer getSortNumber() {
|
|
|
- return this.sortNumber;
|
|
|
+ return sortNumber;
|
|
|
}
|
|
|
|
|
|
- public MusicSheet setTopFlag(YesOrNoEnum topFlag) {
|
|
|
- this.topFlag = topFlag;
|
|
|
- return this;
|
|
|
+ public void setSortNumber(Integer sortNumber) {
|
|
|
+ this.sortNumber = sortNumber;
|
|
|
}
|
|
|
|
|
|
public YesOrNoEnum getTopFlag() {
|
|
|
- return this.topFlag;
|
|
|
+ return topFlag;
|
|
|
}
|
|
|
|
|
|
- public MusicSheet setHotFlag(YesOrNoEnum hotFlag) {
|
|
|
- this.hotFlag = hotFlag;
|
|
|
- return this;
|
|
|
+ public void setTopFlag(YesOrNoEnum topFlag) {
|
|
|
+ this.topFlag = topFlag;
|
|
|
}
|
|
|
|
|
|
public YesOrNoEnum getHotFlag() {
|
|
|
- return this.hotFlag;
|
|
|
+ return hotFlag;
|
|
|
}
|
|
|
|
|
|
- public MusicSheet setMusicPrice(java.math.BigDecimal musicPrice) {
|
|
|
- this.musicPrice = musicPrice;
|
|
|
- return this;
|
|
|
+ public void setHotFlag(YesOrNoEnum hotFlag) {
|
|
|
+ this.hotFlag = hotFlag;
|
|
|
}
|
|
|
|
|
|
- public java.math.BigDecimal getMusicPrice() {
|
|
|
- return this.musicPrice;
|
|
|
+ public BigDecimal getMusicPrice() {
|
|
|
+ return musicPrice;
|
|
|
}
|
|
|
|
|
|
- public MusicSheet setAudioFileUrl(String audioFileUrl) {
|
|
|
- this.audioFileUrl = audioFileUrl;
|
|
|
- return this;
|
|
|
+ public void setMusicPrice(BigDecimal musicPrice) {
|
|
|
+ this.musicPrice = musicPrice;
|
|
|
}
|
|
|
|
|
|
public String getAudioFileUrl() {
|
|
|
- return this.audioFileUrl;
|
|
|
+ return audioFileUrl;
|
|
|
}
|
|
|
|
|
|
- public MusicSheet setXmlFileUrl(String xmlFileUrl) {
|
|
|
- this.xmlFileUrl = xmlFileUrl;
|
|
|
- return this;
|
|
|
+ public void setAudioFileUrl(String audioFileUrl) {
|
|
|
+ this.audioFileUrl = audioFileUrl;
|
|
|
}
|
|
|
|
|
|
public String getXmlFileUrl() {
|
|
|
- return this.xmlFileUrl;
|
|
|
+ return xmlFileUrl;
|
|
|
}
|
|
|
|
|
|
- public MusicSheet setHasBeat(YesOrNoEnum hasBeat) {
|
|
|
- this.hasBeat = hasBeat;
|
|
|
- return this;
|
|
|
+ public void setXmlFileUrl(String xmlFileUrl) {
|
|
|
+ this.xmlFileUrl = xmlFileUrl;
|
|
|
}
|
|
|
|
|
|
public YesOrNoEnum getHasBeat() {
|
|
|
- return this.hasBeat;
|
|
|
+ return hasBeat;
|
|
|
}
|
|
|
|
|
|
- public MusicSheet setCreateTime(java.util.Date createTime) {
|
|
|
- this.createTime = createTime;
|
|
|
- return this;
|
|
|
+ public void setHasBeat(YesOrNoEnum hasBeat) {
|
|
|
+ this.hasBeat = hasBeat;
|
|
|
}
|
|
|
|
|
|
- public java.util.Date getCreateTime() {
|
|
|
- return this.createTime;
|
|
|
+ public Date getCreateTime() {
|
|
|
+ return createTime;
|
|
|
}
|
|
|
|
|
|
- public MusicSheet setCreateBy(Long createBy) {
|
|
|
- this.createBy = createBy;
|
|
|
- return this;
|
|
|
+ public void setCreateTime(Date createTime) {
|
|
|
+ this.createTime = createTime;
|
|
|
}
|
|
|
|
|
|
public Long getCreateBy() {
|
|
|
- return this.createBy;
|
|
|
+ return createBy;
|
|
|
}
|
|
|
|
|
|
- public MusicSheet setUpdateTime(java.util.Date updateTime) {
|
|
|
- this.updateTime = updateTime;
|
|
|
- return this;
|
|
|
+ public void setCreateBy(Long createBy) {
|
|
|
+ this.createBy = createBy;
|
|
|
}
|
|
|
|
|
|
- public java.util.Date getUpdateTime() {
|
|
|
- return this.updateTime;
|
|
|
+ public Date getUpdateTime() {
|
|
|
+ return updateTime;
|
|
|
}
|
|
|
|
|
|
- public MusicSheet setUpdateBy(Long updateBy) {
|
|
|
- this.updateBy = updateBy;
|
|
|
- return this;
|
|
|
+ public void setUpdateTime(Date updateTime) {
|
|
|
+ this.updateTime = updateTime;
|
|
|
}
|
|
|
|
|
|
public Long getUpdateBy() {
|
|
|
- return this.updateBy;
|
|
|
+ return updateBy;
|
|
|
}
|
|
|
|
|
|
- public MusicSheet setRemark(String remark) {
|
|
|
- this.remark = remark;
|
|
|
- return this;
|
|
|
+ public void setUpdateBy(Long updateBy) {
|
|
|
+ this.updateBy = updateBy;
|
|
|
}
|
|
|
|
|
|
public String getRemark() {
|
|
|
- return this.remark;
|
|
|
+ return remark;
|
|
|
}
|
|
|
|
|
|
- public StateEnum getState() {
|
|
|
- return state;
|
|
|
+ public void setRemark(String remark) {
|
|
|
+ this.remark = remark;
|
|
|
}
|
|
|
|
|
|
- public void setState(StateEnum state) {
|
|
|
- this.state = state;
|
|
|
- }
|
|
|
-
|
|
|
- @Override
|
|
|
- public String toString() {
|
|
|
- return ToStringBuilder.reflectionToString(this);
|
|
|
- }
|
|
|
-
|
|
|
}
|