package com.sundot.airport.ledger.domain;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sundot.airport.common.annotation.Excel;
import com.sundot.airport.common.core.domain.BaseEntity;

/**
 * 评分维度 score_dimension
 */
@TableName("score_dimension")
public class ScoreDimension extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Long id;

    @Excel(name = "维度名称")
    private String name;

    @Excel(name = "权重(%)")
    private BigDecimal weight;

    @Excel(name = "基础分")
    private BigDecimal baseScore;

    @Excel(name = "排序")
    private Integer sortOrder;

    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    @Excel(name = "层级维度", readConverterExp = "1=部门,2=队室,3=通道,4=员工", combo = "部门,队室,通道,员工")
    private String org;

    /** 维度对照关系（用于关联不同org层级的维度） */
    private String dimRelationship;

    public Long getId() { return id; }
    public void setId(Long id) { this.id = id; }

    public String getName() { return name; }
    public void setName(String name) { this.name = name; }

    public BigDecimal getWeight() { return weight; }
    public void setWeight(BigDecimal weight) { this.weight = weight; }

    public BigDecimal getBaseScore() { return baseScore; }
    public void setBaseScore(BigDecimal baseScore) { this.baseScore = baseScore; }

    public Integer getSortOrder() { return sortOrder; }
    public void setSortOrder(Integer sortOrder) { this.sortOrder = sortOrder; }

    public String getStatus() { return status; }
    public void setStatus(String status) { this.status = status; }

    public String getOrg() { return org; }
    public void setOrg(String org) { this.org = org; }

    public String getDimRelationship() { return dimRelationship; }
    public void setDimRelationship(String dimRelationship) { this.dimRelationship = dimRelationship; }
}
