package shop.alien.entity.store.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 律师回复DTO
 *
 * @author system
 * @since 2025-01-XX
 */
@Data
@ApiModel(value = "LawyerReplyDto对象", description = "律师回复DTO")
public class LawyerReplyDto {

    @ApiModelProperty(value = "回复类型：1-回复评价，2-回复评论", required = true)
    private Integer replyType;

    @ApiModelProperty(value = "评价ID（replyType=1时必填）")
    private Integer reviewId;

    @ApiModelProperty(value = "评论ID（replyType=2时必填）")
    private Integer commentId;

    @ApiModelProperty(value = "被回复用户ID（可选，不填时默认回复评价/评论的创建者）")
    private Integer replyToUserId;

    @ApiModelProperty(value = "回复内容", required = true)
    private String replyContent;

    @ApiModelProperty(value = "律师用户ID（必填）", required = true)
    private Integer lawyerUserId;

    @ApiModelProperty(value = "发送用户类型：1-普通用户，2-律师（必填）", required = true)
    private Integer sendUserType;

    @ApiModelProperty(value = "接收用户类型：1-普通用户，2-律师（必填）", required = true)
    private Integer receiveUserType;
}
