package com.changhong.epc.bean.tenant.system.permission;
|
|
|
import com.changhong.ssc.data.autho.api.struct.SystemKey;
|
import lombok.Data;
|
import lombok.NoArgsConstructor;
|
|
/**
|
* 权限
|
*/
|
@Data
|
@NoArgsConstructor
|
public class PowerKey extends SystemKey {
|
|
public PowerKey(SystemKey systemKey){
|
super.setAppKey(systemKey.getAppKey());
|
super.setSecretKey(systemKey.getSecretKey());
|
}
|
|
public PowerKey(String appKey, String secretKey){
|
super.setAppKey(appKey);
|
super.setSecretKey(secretKey);
|
}
|
|
}
|