open-vault/ui/app/models/pki/certificate.js
claire bontempo c5e9c15e49
UI: Remove prepended pki- to new engine files (#17875)
* append -old to non-engine pki models

* revert old file name

* remove -engine from all pki component, model, adapter and serializer files

* add md file explaining pki naming
2022-11-10 13:27:19 -08:00

11 lines
312 B
JavaScript

import Model, { attr } from '@ember-data/model';
export default class PkiCertificateModel extends Model {
@attr('string', { readOnly: true }) backend;
@attr('string') commonName;
@attr('string') issueDate;
@attr('string') serialNumber;
@attr('string') notAfter;
@attr('string') notBeforeDuration;
}