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.web.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * <p>
 * 区代设置
 * </p>
 *
 * @author zhangjing
 * @since 2022-09-13
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("BD_AGENT")
@KeySequence("BD_AGENT_SEQ")
public class BdAgent extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId("PK_ID")
    private Integer pkId;

    /**
     * 区代名称
     */
    @TableField("AGENT_NAME")
    private String agentName;

    /**
     * 翻译key
     */
    @TableField("PK_TRANSACTION")
    private Integer pkTransaction;

    /**
     * 区代值
     */
    @TableField("AGENT_VALUE")
    private Integer agentValue;

    /**
     * 统计值
     */
    @TableField("CENSUS_VALUE")
    private Integer censusValue;

    /**
     * 结算值
     */
    @TableField("START_VALUE")
    private BigDecimal startValue;

    /**
     * 等级
     */
    @TableField("PK_GRADE")
    private Integer pkGrade;

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

    /**
     * 注册权限
     */
    @TableField("REGISTER_AUTHORITY")
    private Integer registerAuthority;


}
