Class CasbinPolicy
java.lang.Object
com.sankcrm.erp.domain.model.IdentifiedDomainObject
com.sankcrm.erp.domain.model.Entity
com.sankcrm.erp.domain.model.ConcurrencySafeEntity
com.sankcrm.erp.auth.domain.model.casbin.CasbinPolicy
- All Implemented Interfaces:
Serializable
@Entity
public class CasbinPolicy
extends com.sankcrm.erp.domain.model.ConcurrencySafeEntity
Casbin 策略
不包含角色策略
- Since:
- 2.1.0
- Author:
- zhsxin
- See Also:
- create time:
- 2023/4/3 上午11:01
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.sankcrm.erp.domain.model.ConcurrencySafeEntity
failWhenConcurrencyViolation, getUpdatedDateTime, getVersion, setUpdatedDateTime, setVersionMethods inherited from class com.sankcrm.erp.domain.model.Entity
getCreatedDateTime, setCreatedDateTimeMethods inherited from class com.sankcrm.erp.domain.model.IdentifiedDomainObject
equals, evict, getId, hashCode, merge, refresh, setId
-
Field Details
-
TYPE
策略类型- See Also:
-
-
Constructor Details
-
CasbinPolicy
public CasbinPolicy()
-
-
Method Details
-
toText
-
trim
去除值得空格- Returns:
- 策略
-
value
获取属性值- Parameters:
field- 属性- Returns:
- Optional
-