jiangping
2024-11-26 f1864f6d2d85b49fc901b22e9f6759a5d0fb360b
server/visits/dmvisit_service/src/main/java/com/doumee/dao/business/model/YwRoom.java
@@ -1,6 +1,8 @@
package com.doumee.dao.business.model;
import com.baomidou.mybatisplus.annotation.TableField;
import com.doumee.core.annotation.excel.ExcelColumn;
import com.doumee.core.model.LoginUserModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
@@ -19,7 +21,7 @@
@Data
@ApiModel("运维房源信息表")
@TableName("`yw_room`")
public class YwRoom {
public class YwRoom  extends LoginUserModel {
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键", example = "1")
@@ -92,16 +94,26 @@
    @ExcelColumn(name="计租面积(平方米)")
    private BigDecimal rentArea;
    @ApiModelProperty(value = "楼层数", example = "1")
    @ExcelColumn(name="楼层数")
    @ApiModelProperty(value = "楼层编码(关联yw_floor)", example = "1")
    @ExcelColumn(name="楼层编码")
    private Integer floor;
    @ApiModelProperty(value = "所属项目编码(关联yw_project)", example = "1")
    @ExcelColumn(name="所属项目编码(关联yw_project)")
    private Integer projectId;
    @ApiModelProperty(value = "所属项目编码(关联yw_building)", example = "1")
    @ExcelColumn(name="所属项目编码(关联yw_building)")
    @ApiModelProperty(value = "所属楼宇编码(关联yw_building)", example = "1")
    @ExcelColumn(name="所属楼宇编码(关联yw_building)")
    private Integer buildingId;
    @ApiModelProperty(value = "项目名称")
    @TableField(exist = false)
    private String projectName;
    @ApiModelProperty(value = "楼宇名称")
    @TableField(exist = false)
    private String buildingName;
    @ApiModelProperty(value = "楼层名称")
    @TableField(exist = false)
    private String floorName;
}