package shop.alien.entity.second.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import shop.alien.entity.second.SecondEntrustUser;

/**
 * <p>
 * 二手委托人信息结果 VO（以人为维度）
 * </p>
 *
 * @author ssk
 * @since 2025-11-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude
@NoArgsConstructor
@ApiModel(value = "SecondEntrustUserResultVo", description = "二手委托人信息结果对象（以人为维度）")
public class SecondEntrustUserResultVo extends SecondEntrustUser {

    @TableField(exist = false)
    @ApiModelProperty(value = "委托记录总数")
    private Integer entrustCount;

    @TableField(exist = false)
    @ApiModelProperty(value = "关联交易总数")
    private Integer tradeCount;

    @TableField(exist = false)
    @ApiModelProperty(value = "最近委托时间")
    private String latestEntrustTime;
}

