# 新增房屋信息

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /add-house:
    post:
      summary: 新增房屋信息
      deprecated: false
      description: ''
      operationId: addHouse
      tags:
        - c1/房产管理/房屋管理
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/HouseAddDTO'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StringJsonVO'
          headers: {}
          x-apifox-name: 成功
      security: []
      x-apifox-folder: c1/房产管理/房屋管理
      x-apifox-status: integrating
      x-run-in-apifox: https://app.apifox.com/web/project/6386631/apis/api-305221575-run
components:
  schemas:
    HouseAddDTO:
      type: object
      properties:
        b_id:
          type: string
          description: 楼栋ID
        room_num:
          type: string
          description: 房屋编号
        unit_id:
          type: string
          description: 单元ID
        layer:
          type: string
          description: 层数
        built_up_area:
          type: number
          format: double
          description: 建筑面积
        fee_coefficient:
          type: number
          format: double
          description: 算费系数
        remark:
          type: string
          description: 备注
        state:
          type: string
          description: 房屋状态
        room_type:
          type: string
          description: 房屋类型
        room_area:
          type: number
          format: double
          description: 室内面积
      required:
        - b_id
        - room_num
        - unit_id
        - layer
        - built_up_area
        - state
        - room_type
        - room_area
      x-apifox-orders:
        - b_id
        - room_num
        - unit_id
        - layer
        - built_up_area
        - fee_coefficient
        - remark
        - state
        - room_type
        - room_area
      x-apifox-ignore-properties: []
      x-apifox-folder: ''
    StringJsonVO:
      type: object
      properties:
        code:
          type: integer
          description: 状态码
          default: 10000
          minimum: -2147483648
          maximum: 2147483647
        message:
          type: string
          description: 提示信息
          default: success
        data:
          type: string
          description: 数据对象
      required:
        - code
        - message
      x-apifox-orders:
        - code
        - message
        - data
      x-apifox-ignore-properties: []
      x-apifox-folder: ''
  securitySchemes:
    bearer_auth:
      type: jwt
      description: Default HTTP Bearer Authorization
      name: Authorization
      in: header
      scheme: bearer
      bearerFormat: JWT
    Authorization:
      type: apikey
      name: Authorization
      in: header
servers: []
security: []

```
