package org.dromara.facility.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.mybatis.core.domain.BaseEntity;

import java.io.Serial;
import java.util.Date;

/**
 * 设施-方阵对象 fac_matrix
 *
 * @author lcj
 * @date 2025-04-21
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("fac_matrix")
public class FacMatrix extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 项目id
     */
    private Long projectId;

    /**
     * 方阵名称
     */
    private String matrixName;

    /**
     * 方阵位置
     */
    private String positions;

    /**
     * 备注
     */
    private String remark;

    /**
     * 删除时间
     */
    private Date deletedAt;

    /**
     * 是否删除（0正常 1删除）
     */
    @TableLogic
    private Long isDelete;

}
