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

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

import java.util.List;

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

    /**
     * 规则ID
     */
    @JsonProperty("id")
    private Long id;

    /**
     * 景区ID
     */
    @JsonProperty("scenic_id")
    private Long scenicId;

    /**
     * 规则名称
     */
    @JsonProperty("rule_name")
    private String ruleName;

    /**
     * 规则类型
     */
    @JsonProperty("rule_type")
    private String ruleType;

    /**
     * 规则描述
     */
    @JsonProperty("description")
    private String description;

    /**
     * 状态（active, inactive）
     */
    @JsonProperty("status")
    private Integer status;

    /**
     * 分账接收人列表
     */
    @JsonProperty("recipients")
    private List<RecipientVO> recipients;

    /**
     * 创建时间
     */
    @JsonProperty("created_at")
    private String createdAt;

    /**
     * 更新时间
     */
    @JsonProperty("updated_at")
    private String updatedAt;
}
