package com.usky.ems.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 空间-建筑关联（base_space_build）
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("base_space_build")
public class BaseSpaceBuild implements Serializable {

    private static final long serialVersionUID = 1L;

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

    @TableField("space_id")
    private Long spaceId;
    @TableField("build_id")
    private Integer buildId;
    @TableField("created_by")
    private String createdBy;
    @TableField("created_time")
    private LocalDateTime createdTime;
}
