UNPKG

@etsoo/smarterp-crm

Version:

TypeScript APIs for SmartERP Customer Relationship Management (CRM)

74 lines (73 loc) 1.28 kB
import { EntityStatus, UserRole } from "@etsoo/appscript"; import { PersonProfileKind } from "../../dto/personProfile/PersonProfileKind"; /** * Person profile create request data * 人员档案创建请求数据 */ export type PersonProfileCreateRQ = { /** * Person id * 人员编号 */ personId: number; /** * Other participants * 其他参与者 */ persons?: number[]; /** * Order / purchase id * 订单 / 采购编号 */ orderId?: number; /** * Kind * 类型 */ kind: PersonProfileKind; /** * Title * 标题 */ title: string; /** * Comment * 评论 */ comment: string; /** * Location * 位置 */ location?: string; /** * Location id * 位置编号 */ locationId?: number; /** * Happen date * 发生日期 */ happenDate?: string; /** * Happen date end * 发生日期结束 */ happenDateEnd?: string; /** * User role for privacy * 控制隐私的用户角色 */ userRole?: UserRole; /** * JSON data * JSON 数据 */ data?: string; /** * Status * 状况 */ status: EntityStatus; };