You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
907 B
31 lines
907 B
8 months ago
|
package cn.teammodel.model.entity.common;
|
||
|
|
||
|
import cn.teammodel.model.entity.BaseItem;
|
||
|
import com.azure.spring.data.cosmos.core.mapping.Container;
|
||
|
import com.fasterxml.jackson.annotation.JsonInclude;
|
||
|
import io.swagger.annotations.ApiModelProperty;
|
||
|
import lombok.Data;
|
||
|
import lombok.EqualsAndHashCode;
|
||
|
|
||
|
@EqualsAndHashCode(callSuper = true)
|
||
|
@Container(containerName = "Common")
|
||
|
@Data
|
||
|
@JsonInclude(JsonInclude.Include.NON_NULL)
|
||
|
public class Comment extends BaseItem {
|
||
|
private String content;
|
||
|
private String creatorId;
|
||
|
private String creatorName;
|
||
|
private String school;
|
||
|
private String studentId;
|
||
|
private String activityId;
|
||
|
@ApiModelProperty("活动类型")
|
||
|
private String activityType;
|
||
|
@ApiModelProperty("评论类型")
|
||
|
private String contentType;
|
||
|
private String pk = "comment";
|
||
|
//private int ttl = -1;
|
||
|
private Long createTime;
|
||
|
private Long updateTime;
|
||
|
|
||
|
}
|