DROP TABLE IF EXISTS "public"."emergency_equipment_registration";
CREATE TABLE "public"."emergency_equipment_registration" (
  "id" serial PRIMARY KEY,
  "name" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
  "type" varchar(255) COLLATE "pg_catalog"."default",
  "unit" varchar(255) COLLATE "pg_catalog"."default",
  "count" int4,
  "function" varchar(255) COLLATE "pg_catalog"."default",
  "purpose" varchar(255) COLLATE "pg_catalog"."default",
  "status" varchar(255) COLLATE "pg_catalog"."default",
  "in_time" date
)
;
COMMENT ON COLUMN "public"."emergency_equipment_registration"."name" IS '名称';
COMMENT ON COLUMN "public"."emergency_equipment_registration"."type" IS '类别';
COMMENT ON COLUMN "public"."emergency_equipment_registration"."unit" IS '计量单位';
COMMENT ON COLUMN "public"."emergency_equipment_registration"."count" IS '数量';
COMMENT ON COLUMN "public"."emergency_equipment_registration"."function" IS '主要性能';
COMMENT ON COLUMN "public"."emergency_equipment_registration"."purpose" IS '用途';
COMMENT ON COLUMN "public"."emergency_equipment_registration"."status" IS '技术状况';
COMMENT ON COLUMN "public"."emergency_equipment_registration"."in_time" IS '入库日期';

-- ----------------------------
-- Records of emergency_equipment_registration
-- ----------------------------
INSERT INTO "public"."emergency_equipment_registration" VALUES (1, '地震应急包', '地震救援', '个', 250, '应急救援', '救援', '堪用', '2021-12-01');
INSERT INTO "public"."emergency_equipment_registration" VALUES (2, '运兵车', '森林灭火', '辆', 1, '运输', '灭火', '堪用', '2018-12-31');
INSERT INTO "public"."emergency_equipment_registration" VALUES (3, '对讲机', '森林灭火', '台', 42, '通信联络', '灭火', '堪用', '2018-12-31');
INSERT INTO "public"."emergency_equipment_registration" VALUES (4, 'GPS', '森林灭火', '个', 4, '灭火救援', '灭火', '堪用', '2018-12-31');
INSERT INTO "public"."emergency_equipment_registration" VALUES (5, '风力灭火机', '森林灭火', '台', 16, '灭火救援', '灭火', '堪用', '2018-12-31');
INSERT INTO "public"."emergency_equipment_registration" VALUES (6, '细水雾灭火机', '森林灭火', '台', 2, '灭火救援', '灭火', '堪用', '2018-12-31');
INSERT INTO "public"."emergency_equipment_registration" VALUES (7, '背负式高压水雾喷射器', '森林灭火', '台', 6, '灭火救援', '灭火', '堪用', '2018-12-31');

