package com.persagy.labsl.services.planar

import com.persagy.labsl.models.entities.pbs.PlanarQbsRule
import com.persagy.labsl.utils.IdUtils
import com.persagy.mybatis.SMybatisDao
import com.persagy.service.SObjectService

/**
 * 规则
 *
 * @author wx  <zhangweixin@sagacloud.com>
 * @date  2020/12/13 9:34
 */
object PlanarQbsRuleService : SObjectService<PlanarQbsRule>(SMybatisDao(PlanarQbsRule::class.java)) {


    override fun onCreateBefore(entity: PlanarQbsRule): Boolean {
//        if (entity.id.isNullOrEmpty()) {
//            entity.id = IdUtils.uuidCreate()
//        }

        return super.onCreateBefore(entity)
    }



}