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]