import { inject , injectable } from 'inversify' ; import AbstractStorageBaseModel from '../AbstractStorageBaseModel' ; import IStorageOperationModel from '../IStorageOperationModel' ; import { IGuideProgramDialogSettingStorageModel , IGuideProgramDialogSettingValue , NONE_ENCODE_OPTION } from './IGuideProgramDialogSettingStorageModel' ; @ injectable ( ) export default class GuideProgramDialogSettingStorageModel extends AbstractStorageBaseModel < IGuideProgramDialogSettingValue > implements IGuideProgramDialogSettingStorageModel { constructor ( @ inject ( 'IStorageOperationModel' ) op ) { super ( op ) ; } public getDefaultValue ( ) { return { encode : NONE_ENCODE_OPTION , isDeleteOriginalAfterEncode : false , } ; } public getStorageKey ( ) { return 'GuideProgramDetailSetting' ; } }