package com.wzj.soopin.transaction.domain.vo;


import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.dromara.common.mybatis.core.domain.BaseEntity;

import java.util.ArrayList;
import java.util.List;

/**
 * 分账规则
 *
 * @author wzj
 * @date 2023-03-07
 */
@Schema(description="分账规则")
@Data
public class DivideRuleVO extends BaseEntity {

    /**
     * 主键
     */
    @Schema(description ="主键")
    @ExcelProperty(value = "主键", order = 1)
    private Long id;



    @Schema(description ="分账规则id")
    @ExcelProperty(value = "分账规则id", order = 2)
    private Long ruleId;

    /**
     * 提现码
     */

    @Schema(description ="编号")
    @ExcelProperty(value = "编号", order = 2)
    private String code;


    @Schema(description ="名称")
    @ExcelProperty(value ="名称", order = 3)
    private String name;

    /**
     * 状态
     */
    @Schema(description ="状态")
    @ExcelProperty(value ="状态", order = 7)
    private Integer status;


    @Schema(description = "区域id")
    private Long regionId;

    /**
     * 手续费承担方式类型
     */
    @Schema(description = "手续费承担方式")
    private Integer feeType;

    /**
     * 类型
     */
    @Schema(description ="适用订单类型")
    @ExcelProperty(value ="类型", order = 8)
    private Integer type;

    @Schema(description = "分账规则明细")
    @ExcelProperty(value = "分账规则明细", order = 9)
    private List<DivideRuleDetailVO> details=new ArrayList<>();
}
