新增 会员与收藏站点相关实体类、service

This commit is contained in:
Lemon
2025-03-18 15:55:34 +08:00
parent 1cad083624
commit 63b0668363
7 changed files with 343 additions and 27 deletions

View File

@@ -1,66 +1,70 @@
package com.jsowell.pile.domain;
import com.jsowell.common.annotation.Excel;
import com.jsowell.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
/**
* 会员与收藏的站点关系对象 member_station_relation
*
*
* @author jsowell
* @date 2025-03-18
*/
public class MemberStationRelation extends BaseEntity
{
public class MemberStationRelation extends BaseEntity {
private static final long serialVersionUID = 1L;
/** 主键 */
/**
* 主键
*/
private Integer id;
/** 会员id */
/**
* 会员id
*/
@Excel(name = "会员id")
private Long memberId;
/** 站点id */
/**
* 站点id
*/
@Excel(name = "站点id")
private Long stationId;
public void setId(Integer id)
{
public void setId(Integer id) {
this.id = id;
}
public Integer getId()
{
public Integer getId() {
return id;
}
public void setMemberId(Long memberId)
{
public void setMemberId(Long memberId) {
this.memberId = memberId;
}
public Long getMemberId()
{
public Long getMemberId() {
return memberId;
}
public void setStationId(Long stationId)
{
public void setStationId(Long stationId) {
this.stationId = stationId;
}
public Long getStationId()
{
public Long getStationId() {
return stationId;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.JSON_STYLE)
.append("id", getId())
.append("memberId", getMemberId())
.append("stationId", getStationId())
.append("createTime", getCreateTime())
.append("createBy", getCreateBy())
.append("updateTime", getUpdateTime())
.append("updateBy", getUpdateBy())
.toString();
return new ToStringBuilder(this, ToStringStyle.JSON_STYLE)
.append("id", getId())
.append("memberId", getMemberId())
.append("stationId", getStationId())
.append("createTime", getCreateTime())
.append("createBy", getCreateBy())
.append("updateTime", getUpdateTime())
.append("updateBy", getUpdateBy())
.toString();
}
}