import type { PageParam } from '@/api'; /** * */ export interface ThinkQrcode { // 主键 id?: string; // 二维码本身的值,大小不确定。可能为json,链接,文本 codeValue?: string; // 关联的用户id,默认用户为uuid 即使为数字 转为字符保存 codeRelUser?: string; // 关联的用户类型 wechat: 微信用户 ,sys:系统用户,other:其他 userType?: string; // 有效开始时间 codeValidStartTime?: string; // 有效结束时间 默认五分钟后过期 codeValidEndTime?: string; // 是否使用 0 未使用 1 已使用 codeUsStatus?: string; // 二维码可使用次数,默认一次 codeUsabaleNumber?: number; // 二维码已经使用次数,可以超过可使用次数,不想建立一个记录表,用这个字段进行统计 codeUsNumber?: number; // 二维码类型 valve:阀门;other:其他 ,后期继续添加 codeType?: string; // 二维码实际转发地址 : 预留字段 可能该系统不一定用到 codeForward?: string; // 创建时间 crateTime?: string; // 创建人id createUser?: string; // 更新次数 updateNumber?: number; // 最近更新时间,作为系统设计预留字段 updateTime?: string; // 最近更新数据id 系统设计使用 updateUser?: string; // 数据逻辑删除状态 0:未删除 1 :已删除; 物理删除不用考虑该字段 作为系统设计预留字段 deleteStatus?: string; } /** * 搜索条件 */ export interface ThinkQrcodeParam extends PageParam { id?: number; keywords?: string; }