Dev cleaning (#106)
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import { type Base, genBase } from "./_base"
|
||||
|
||||
export interface Unit extends Base {
|
||||
code: string
|
||||
name: string
|
||||
installation_id?: number | string | null
|
||||
}
|
||||
|
||||
export function genUnit(): Unit {
|
||||
return {
|
||||
...genBase(),
|
||||
code: '',
|
||||
name: '',
|
||||
installation_id: 0,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user