package com.hzs.common.domain.system.config.ext;

import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.hzs.common.core.annotation.Excel;
import com.hzs.common.core.annotation.Transaction;
import com.hzs.common.core.web.domain.BaseEntity;
import com.hzs.common.domain.system.config.BdRange;
import com.hzs.common.domain.system.config.BdRangeDetails;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * <p>
 * 极差配置
 * </p>
 *
 * @author zhangjing
 * @since 2022-09-09
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class BdRangeExt extends BdRange {

    private static final long serialVersionUID = 1L;

    /**
     * 等级极差详情集合
     */
    @Transaction
    private List<BdRangeDetailsExt> rangeDetailsGrade;

    @Excel(name = "等级",sort=2)
    private String rangeDetailsGradeVal;

    /**
     * 奖衔极差详情集合
     */
    @Transaction
    private List<BdRangeDetailsExt> rangeDetailsAward;
    private List<BdRangeDetailsExt>  rangeDetails;

    @Excel(name = "奖衔",sort=3)
    private String rangeDetailsAwardVal;

    /**
     * 等级集合
     */
    private List<Integer> gradeList;
    /**
     * 奖衔集合
     */
    private List<Integer> awardsList;


}
