import { ActionType } from "@/TsModel/Lc/Entity/Enums/ActionType"; import { ModelMemberVo } from "@/TsModel/Lc/Dev/Entity/Vo/ModelMemberVo"; import { DerivedType } from "@/TsModel/Lc/Entity/Enums/DerivedType"; /** 字段模型 是层级结构*/ export interface ModelVo { /** 操作方式*/ Action: ActionType; /** 原来的id改成SetId 先这样 看 Action 来决定*/ SetId?: string | null; /** 表ID 如果为空就表示新增。否则就是更新*/ TableId?: string | null; /** 模型标识 限制重复只能是当前业务对像*/ Code: string; /** 在业务对像中指示此模型为主表*/ IsMain: boolean; /** 名称*/ Name: string; /** 表名*/ TName: string; /** 来自于哪个业务对像*/ FromPlugin?: string | null; /** 模型成员*/ MemberList: ModelMemberVo[]; /** 模型说明*/ notes: string; /** 表示这个模型在输入时,必须录入一行*/ IsMustEnter: boolean; /** 子模型 也就是子表单*/ Childs?: ModelVo[] | null; /** 有父级时指定是扩展还是继承过来 扩展不复制列,继承要复制*/ DerivedType?: DerivedType | null; /** 如果是 继承或扩展.就要指示父级模型Id*/ Derive_Parent?: string | null; /** 表示这是树形单据体 树型单的父键 统一由派生 Current_Parent 表示*/ IsTree: boolean; }