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

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.hzs.common.core.web.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 奖衔区域配置
 * </p>
 *
 * @author bd
 * @since 2025-07-23
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("BD_AWARDS_REGION_CONFIG")
@KeySequence("BD_AWARDS_REGION_CONFIG_SEQ")
public class BdAwardsRegionConfig extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId("PK_ID")
    private Long pkId;

    /**
     * 可配置类型(3-区,2-市,1-省)
     */
    @TableField("AREA_TYPE")
    private Integer areaType;

    /**
     * 奖衔ID
     */
    @TableField("PK_AWARDS")
    private Integer pkAwards;

    /**
     * 奖衔值
     */
    @TableField("AWARDS_VALUE")
    private Integer awardsValue;
    @TableField(exist = false)
    private String awardsName;

    /**
     * 比例
     */
    @TableField("RATE")
    private BigDecimal rate;


}
