Files
simrsx-fe/app/models/_ai_prompt.txt
Munawwirul Jamal 3eb9dde21d Dev cleaning (#106)
2025-10-08 00:03:36 +07:00

30 lines
613 B
Plaintext

Based on the following information:
Template
code varchar 10 notnull
name varchar 10
Original_SrcCode_Id int notnull
dateTime datetime notnull
date date
I created the following typescript:
import { type Base, genBase } from "./_base"
export interface Template extends Base {
code: string
name?: string
original_srcCode_id: number
dateTime: string
date?: string
}
export function genTemplate(): Template {
return {
...genBase(),
code: '',
original_srcCode_id: 0,
dateTime: '',
}
}
With similar method, create typescript based on the following information:
[copy from excel]