package com.matrix.system.shopXcx.api.dto; import com.matrix.core.pojo.PaginationDto; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import javax.validation.constraints.NotNull; /** * @author jyy * @date 2020-12-23 **/ @ApiModel(value = "ErpServiceCommentDto", description = "服务评价") public class ErpServiceCommentDto { @NotNull(message = "评论内容不能为空") @ApiModelProperty(value = "评论内容") private String comment; @NotNull(message = "服务单id不能为空") @ApiModelProperty(value = "服务单id") private Long id; public String getComment() { return comment; } public void setComment(String comment) { this.comment = comment; } public Long getId() { return id; } public void setId(Long id) { this.id = id; } }