package com.yeshi.makemoney.app.entity.goldcorn;
|
|
import com.yeshi.makemoney.app.entity.SystemEnum;
|
import org.springframework.data.annotation.Id;
|
import org.springframework.data.mongodb.core.index.Indexed;
|
import org.springframework.data.mongodb.core.mapping.Document;
|
|
import java.util.Date;
|
|
/**
|
* @author hxh
|
* @title: GolCornGetTypeInfo
|
* @description: 获取金币的任务类型信息
|
* @date 2022/4/27 15:51
|
*/
|
@Document(collection = "goldCornTaskTypeInfo")
|
public class GoldCornTaskTypeInfo {
|
|
@Id
|
private String id;
|
|
private String name;
|
|
private String icon;
|
|
@Indexed
|
private SystemEnum system;
|
|
@Indexed
|
private GoldCornGetType type;
|
|
@Indexed
|
private Integer order;
|
|
private Date createTime;
|
|
private Date updateTime;
|
@Indexed
|
private Boolean show;
|
@Indexed
|
private Date startTime;
|
@Indexed
|
private Date endTime;
|
|
|
public String toId() {
|
return system.name() + "-" + type.name();
|
}
|
|
|
public String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
public String getId() {
|
return id;
|
}
|
|
public void setId(String id) {
|
this.id = id;
|
}
|
|
public String getIcon() {
|
return icon;
|
}
|
|
public void setIcon(String icon) {
|
this.icon = icon;
|
}
|
|
public SystemEnum getSystem() {
|
return system;
|
}
|
|
public void setSystem(SystemEnum system) {
|
this.system = system;
|
}
|
|
public GoldCornGetType getType() {
|
return type;
|
}
|
|
public void setType(GoldCornGetType type) {
|
this.type = type;
|
}
|
|
public Date getCreateTime() {
|
return createTime;
|
}
|
|
public void setCreateTime(Date createTime) {
|
this.createTime = createTime;
|
}
|
|
public Date getUpdateTime() {
|
return updateTime;
|
}
|
|
public void setUpdateTime(Date updateTime) {
|
this.updateTime = updateTime;
|
}
|
|
public Boolean getShow() {
|
return show;
|
}
|
|
public void setShow(Boolean show) {
|
this.show = show;
|
}
|
|
public Date getStartTime() {
|
return startTime;
|
}
|
|
public void setStartTime(Date startTime) {
|
this.startTime = startTime;
|
}
|
|
public Date getEndTime() {
|
return endTime;
|
}
|
|
public void setEndTime(Date endTime) {
|
this.endTime = endTime;
|
}
|
|
public Integer getOrder() {
|
return order;
|
}
|
|
public void setOrder(Integer order) {
|
this.order = order;
|
}
|
}
|