package com.ycwl.basic.integration.profitshare.dto.record;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 分账明细VO
 *
 * @author Claude Code
 * @date 2025-01-11
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ShareDetailVO {

    /**
     * 明细ID
     */
    @JsonProperty("id")
    private Long id;

    /**
     * 接收人名称
     */
    @JsonProperty("recipient_name")
    private String recipientName;

    /**
     * 接收人类型
     */
    @JsonProperty("recipient_type")
    private String recipientType;

    /**
     * 账户信息
     */
    @JsonProperty("account_info")
    private String accountInfo;

    /**
     * 分账金额
     */
    @JsonProperty("share_amount")
    private Double shareAmount;

    /**
     * 状态
     */
    @JsonProperty("status")
    private String status;

    /**
     * 错误信息
     */
    @JsonProperty("error_message")
    private String errorMessage;
}
