package com.template.model.pojo; import com.baomidou.mybatisplus.annotation.*; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.EqualsAndHashCode; import lombok.experimental.Accessors; import java.io.Serializable; import java.math.BigDecimal; /** *
* *
* * @author ceshi * @since 2023-11-17 */ @Data @EqualsAndHashCode(callSuper = false) @Accessors(chain = true) @ApiModel(value="House对象", description="") public class House implements Serializable { private static final long serialVersionUID = 1L; @ApiModelProperty(value = "房间表") @TableId(value = "id", type = IdType.AUTO) private Integer id; @ApiModelProperty(value = "房间名称") private String roomName; @ApiModelProperty(value = "房间类型(1:全日房,2:钟点房)") private Integer roomType; @ApiModelProperty(value = "房间单价") private BigDecimal roomPrice; // @ApiModelProperty(value = "房间数量") // private Integer number; @ApiModelProperty(value = "房间面积") private String roomArea; @ApiModelProperty(value = "居住时长(状态为钟点房时才有)") private String roomLiveTime; @ApiModelProperty(value = "营业时间(状态为钟点房时才有)") private String receivingTime; @ApiModelProperty(value = "可见类型(0:全部,1:学生,2:教职工,3:校友,4:访客,5:临时人员,6:其他,7:领导)") private String visible; @ApiModelProperty(value = "房间配置") private String roomConfiguration; @ApiModelProperty(value = "房间图片") private String roomPicture; @ApiModelProperty(value = "房型图片,多张可用逗号隔开") private String housePicture; @ApiModelProperty(value = "简介") private String introductory; @ApiModelProperty(value = "是否上架 1:上架 ,2:下架") private Integer isAdded; @ApiModelProperty(value = "创建时间") @TableField(fill = FieldFill.INSERT) private String createTime; @ApiModelProperty(value = "更新时间") @TableField(fill = FieldFill.INSERT_UPDATE) private String updateTime; @ApiModelProperty(value = "创建人员") @TableField(fill = FieldFill.INSERT) private String createUser; @ApiModelProperty(value = "更新人员") @TableField(fill = FieldFill.INSERT_UPDATE) private String updateUser; @ApiModelProperty(value = "逻辑删除 未删除:0;删除:1") @TableField(fill = FieldFill.INSERT) @TableLogic private Integer deleted; }