# SalesKpiMonthlyConfig.java

    package cloud.wconnect.workperformance.entity.saleskpi;

    import com.baomidou.mybatisplus.annotation.IdType;
    import com.baomidou.mybatisplus.annotation.TableId;
    import com.baomidou.mybatisplus.annotation.TableName;
    import lombok.*;
    import lombok.experimental.Accessors;

    import java.io.Serializable;

    /**
     * <p>
     * salses kpi monthly config
     * </p>
     *
     * @author zc
     * @since 2023-09-05
     */
    @Data
    @Builder
    @AllArgsConstructor
    @NoArgsConstructor
    @EqualsAndHashCode(callSuper = false)
    @Accessors(chain = true)
    @TableName("sales_kpi_monthly_config_v2")
    public class SalesKpiMonthlyConfig implements Serializable {

        private static final long serialVersionUID = 1L;

        @TableId(value = "id", type = IdType.AUTO)
        private Integer id;

        /**
         * 资产 id
         */
        private Integer propertyId;

        /**
         * 父级 id
         */
        private Integer parentId;

        /**
         * 指标标题
         */
        private String title;

        /**
         * 指标描述
         */
        private String description;

        /**
         * 数据源标识
         */
        private String dataSource;

        /**
         * 数值单位
         */
        private String unit;

        /**
         * 指标显示顺序
         */
        private Integer sort;

        /**
         * {type:'类型("N/A"|"")'}
         */
        private String targetSetting;

        /**
         * {type:'类型("nextTwoMonth"|"")'}
         */
        private String itemConfig;

        /**
         * item 类型（1：普通 item  2：员工绑定 segment）
         */
        private Integer type;

        public static final int TYPE_GENERAL = 1;
        public static final int TYPE_SEGMENT = 2;

        /**
         * item 单位：美元
         */
        public static final String UNIT_DOLLAR = "$";

        /**
         * 0: 未删除 1：已删除
         */
        private Boolean status;

    }