package com.zt.plat.module.base.dal.dataobject.businessdepartmentindicator;

import lombok.*;
import com.baomidou.mybatisplus.annotation.*;
import com.zt.plat.framework.mybatis.core.dataobject.BusinessBaseDO;
/**
 * 部门持有指标 DO
 *
 * @author YangXiaofeng
 */
@TableName("bse_bsn_dept_ind")
@KeySequence("bse_bsn_dept_ind_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库，可不写。
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
/**
 * 支持业务基类继承：isBusiness=true 时继承 BusinessBaseDO，否则继承 BaseDO
 */
public class BusinessDepartmentIndicatorDO extends BusinessBaseDO {



    /**
     * 主键ID
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    /**
     * 指标ID
     */
    @TableField("IND_ID")
    private Long indicatorId;
    /**
     * 计量单位ID
     */
    @TableField("UNT_ID")
    private Long unitId;
    /**
     * 规则ID
     */
    @TableField("RUL_ID")
    private Long ruleId;
    /**
     * 算法ID
     */
    @TableField("ALG_ID")
    private Long algorithmId;
    /**
     * 实体ID
     */
    @TableField("ENTY_ID")
    private Long entityId;
    /**
     * 值
     */
    @TableField("VAL")
    private String value;
    /**
     * 是否关键指标
     */
    @TableField("IS_KY")
    private Integer isKey;
    /**
     * 排序号
     */
    @TableField("SRT")
    private Long sort;
    /**
     * 备注
     */
    @TableField("RMK")
    private String remark;


}