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_area）
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("base_space_area")
public class BaseSpaceArea implements Serializable {

    private static final long serialVersionUID = 1L;

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

    @TableField("space_id")
    private Long spaceId;
    @TableField("area_id")
    private Long areaId;
    @TableField("created_by")
    private String createdBy;
    @TableField("created_time")
    private LocalDateTime createdTime;
}
