import { DerivedType } from "@/TsModel/Lc/Entity/Enums/DerivedType"; import * as Comm from '@/TsModel/Comm/Comm'; /** 跟 t_column 的区别就是 t_column针对数据库,而此对像是针对业务逻辑*/ import { BaseMainDeriveTreeEntity } from "@/TsModel/Lc/Dev/Entity/Table/BaseMainDeriveTreeEntity"; export interface t_business_model_member extends BaseMainDeriveTreeEntity { /** 是否为主键*/ IsKeyColumn: boolean; /** 业务对像ID*/ Business: string; /** 实体对像表ID*/ BusinessModel: string; /** 列id 如果还没有同步到数据库..就会是null*/ Column?: string | null; /** 列标识*/ Code: string; /** 列名*/ CName: string; /** 字段类型 哪个业务对像? || 哪种箱子 肯定是业务对像单据头的 id*/ MemberType: string; /** 如果此值不为null 哪么此列存扩不是这个业务对像的id 所以 this.MemberTypeId 应该存到 MemberType 中 而 MemberType 应该存到这里 此值貌似是没用的..因为 MemberType 就是这个值*/ FromBiz?: string | null; /** 如果此值不为null 就表示当前业务对像中有一列存放的了Ser_Bussiness 对像id, 而此列存的就是这个列的id*/ FromCurrBiz?: string | null; FromPlugin?: string | null; /** 有父级时指定是扩展还是继承过来 扩展不复制列,继承要复制*/ DerivedType?: DerivedType | null; UseModelId?: string | null; UseModelMemberId?: string | null; HasSyncDb: boolean; /** 指定这个列不要映射到数据库.*/ DotSyncDb: boolean; IsSys: boolean; IsParentTable: boolean; /** 这是内部的 表示在业务对像的字段列表中不用显示*/ Internal: boolean; /** 表示不需要创建数据库列*/ NotDb: boolean; /** 即 this.MemberType 的单据 在与字段类型业务对像交互时要用到*/ Ex_MemberTypeData?: Comm.Dictionary | null; }