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

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.Transaction;
import com.hzs.common.core.constant.EnumsPrefixConstants;
import com.hzs.common.core.web.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 极差详细表
 * </p>
 *
 * @author hzs
 * @since 2022-10-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("BD_RANGE_DETAILS")
@KeySequence("BD_RANGE_DETAILS_SEQ")
public class BdRangeDetails extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId("PK_ID")
    private Integer pkId;

    /**
     * 极差表主键
     */
    @TableField("PK_RANGE")
    private Integer pkRange;

    /**
     * 级别
     */
    @TableField("PK_LEVEL")
    private Integer pkLevel;

    /**
     * 极差类型
     */
    @TableField("RANGE_TYPE")
    @Transaction(transactionKey = EnumsPrefixConstants.RANGE_TYPE)
    private Integer rangeType;



}
