package com.gxwebsoft.tower.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableLogic;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 项目标地
 *
 * @author 科技小王子
 * @since 2024-01-05 22:01:16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "TowerProjectBuilding对象", description = "项目标地")
public class TowerProjectBuilding implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "building_id", type = IdType.AUTO)
    private Integer buildingId;

    private Integer projectId;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "状态, 0待发布, 1已发布")
    private Integer status;

    @ApiModelProperty(value = "所有人")
    private Integer userId;

    @ApiModelProperty(value = "是否删除, 0否, 1是")
    @TableLogic
    private Integer deleted;

    @ApiModelProperty(value = "租户id")
    private Integer tenantId;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;

}
