import type { PageQuery, BaseEntity } from '#/api/common'; export interface LightInfoVO { /** * 主键id */ id: string | number; /** * 位置描述 */ locationRemark: string; /** * 开关状态(0:关,1:开) */ isOn: boolean; /** * 灯控模块编码 */ code: number; /** * 园区编码 */ communityId: string | number; /** * 建筑名称 */ buildingId: string | number; /** * 单元编码 */ unitId: string | number; /** * 所属楼层ID */ floorId: string | number; /** * 楼层 */ floorName: string; } export interface LightInfoForm extends BaseEntity { /** * 主键id */ id?: string | number; /** * 位置描述 */ locationRemark?: string; /** * 开关状态(0:关,1:开) */ isOn: boolean; /** * 灯控模块编码 */ code?: number; /** * 园区编码 */ communityId?: string | number; /** * 建筑名称 */ buildingId?: string | number; /** * 单元编码 */ unitId?: string | number; /** * 所属楼层ID */ floorId?: string | number; } export interface LightInfoQuery extends PageQuery { /** * 位置描述 */ locationRemark?: string; /** * 开关状态(0:关,1:开) */ isOn?: number; /** * 灯控模块编码 */ code?: number; /** * 园区编码 */ communityId?: string | number; /** * 建筑名称 */ buildingId?: string | number; /** * 单元编码 */ unitId?: string | number; /** * 所属楼层ID */ floorId?: string | number; /** * 日期范围参数 */ params?: any; }