import { D as DataModel } from './data-model-f5160369.js';

const getUserInitials = (user) => `${user.firstName[0]}${user.lastName[0]}`;
const getUserFullName = (user) => `${user.firstName} ${user.lastName}`;
class User extends DataModel {
  static decode(json) {
    return Object.assign(Object.create(User.prototype), json);
  }
  static generateRef(id) {
    return { _ref: 'kimlik-users', _id: id };
  }
}

export { User as U, getUserInitials as a, getUserFullName as g };
