package com.YuyeTech.TPlat.dto;

import com.YuyeTech.TPlat.dataobject.LevelHonor;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author:slambb
 * @date:2020/1/10
 */
@Data
public class LevelJumpDTO {
    private Integer id;
    private String name;
    private String describe;
    private Integer rewardGold;
    private Integer rewardDiamond;
    private LevelHonorDTO rewardHonor;//过关荣誉
    private Integer consumeGold;
    private Integer consumeDiamond;
    private Integer signCount;
    private String signType;
    private Integer limitTime;
    /**
     * 解锁条件类型.
     */
    private List<LevelConditionDTO> conditionUnlock;
    /**
     * 通过关卡时候的类型.
     */
    private LevelConditionDTO conditionPassed;
    /**
     * 补充说明
     */
    private String explain;
    /**
     * 人数类型 1单人
     */
    private Integer numberType;
    /**
     * 是否通过
     */
    private Boolean isPassed;

    /**
     * 是否解锁
     */
    private Boolean isUnlock;

    /**
     * 关卡条件区分
     */
    private Integer levelType;

    public LevelJumpDTO(Integer id,
                        String name,
                        String describe,
                        Integer rewardGold,
                        Integer rewardDiamond,
                        LevelHonorDTO rewardHonor,
                        Integer consumeGold,
                        Integer consumeDiamond,
                        Integer signCount,
                        String signType,
                        Integer limitTime,
                        List<LevelConditionDTO> conditionUnlock,
                        LevelConditionDTO conditionPassed,
                        String explain,
                        Integer numberType,
                        Boolean isPassed,
                        Boolean isUnlock,
                        Integer levelType

    ) {
        this.id = id;
        this.name = name;
        this.describe = describe;
        this.rewardGold = rewardGold;
        this.rewardDiamond = rewardDiamond;
        this.rewardHonor = rewardHonor;
        this.consumeGold = consumeGold;
        this.consumeDiamond = consumeDiamond;
        this.signCount = signCount;
        this.signType = signType;
        this.limitTime = limitTime;
        this.conditionUnlock = conditionUnlock;
        this.conditionPassed = conditionPassed;
        this.explain = explain;
        this.numberType = numberType;
        this.isPassed = isPassed;
        this.isUnlock = isUnlock;
        this.levelType = levelType;
    }
}
