package com.ruoyi.ibs.draw.domain.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author 吴凯程
 * @Date 2024/12/25
 **/
@Data
@TableName("grid_draw_shape_relate")
public class DrawGridShapeRelate implements Serializable {
    /**
     * 主键
     */
    @ApiModelProperty(value = "主键", name = "id")
    @TableId(type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "图形主键", name = "shapeId")
    private Long shapeId;

    @ApiModelProperty(value = "图层主键", name = "layerId")
    private Long layerId;

    @ApiModelProperty(value = "网格主键", name = "gridId")
    private Long gridId;

    @TableField(fill = FieldFill.INSERT)
    private Long deptId;

    /**
     * 创建者
     */
    @TableField(fill = FieldFill.INSERT)
    private String createBy;
    /**
     * 删除标识
     */
    @TableLogic
    private Boolean deleteFlag;
}
