22 lines
408 B
TypeScript
22 lines
408 B
TypeScript
// RULES:
|
|
// default variable value for customer
|
|
// empty valur for customer
|
|
|
|
import { dayjs } from '@/lib/dayjs';
|
|
import type { Student } from './type.d';
|
|
|
|
export const defaultStudent: Student = {
|
|
id: '',
|
|
name: '',
|
|
avatar: undefined,
|
|
email: '',
|
|
phone: undefined,
|
|
quota: 0,
|
|
status: 'pending',
|
|
createdAt: dayjs().toDate(),
|
|
};
|
|
|
|
export const emptyLpCategory: Student = {
|
|
...defaultStudent,
|
|
};
|