package com.rongyichuang.activity.dto;
|
|
import java.time.LocalDateTime;
|
|
public class ActivityStageInput {
|
|
private Long id;
|
private String name;
|
private String description;
|
private LocalDateTime matchTime;
|
private String address;
|
private Long ratingSchemeId;
|
private Integer playerMax;
|
private Integer state = 1;
|
|
// 构造函数
|
public ActivityStageInput() {}
|
|
// Getters and Setters
|
public Long getId() {
|
return id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
public String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
public String getDescription() {
|
return description;
|
}
|
|
public void setDescription(String description) {
|
this.description = description;
|
}
|
|
public LocalDateTime getMatchTime() {
|
return matchTime;
|
}
|
|
public void setMatchTime(LocalDateTime matchTime) {
|
this.matchTime = matchTime;
|
}
|
|
public String getAddress() {
|
return address;
|
}
|
|
public void setAddress(String address) {
|
this.address = address;
|
}
|
|
public Long getRatingSchemeId() {
|
return ratingSchemeId;
|
}
|
|
public void setRatingSchemeId(Long ratingSchemeId) {
|
this.ratingSchemeId = ratingSchemeId;
|
}
|
|
public Integer getPlayerMax() {
|
return playerMax;
|
}
|
|
public void setPlayerMax(Integer playerMax) {
|
this.playerMax = playerMax;
|
}
|
|
public Integer getState() {
|
return state;
|
}
|
|
public void setState(Integer state) {
|
this.state = state;
|
}
|
|
// 业务方法
|
public boolean isNew() {
|
return id == null;
|
}
|
}
|