package com.multictrl.modules.business.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.multictrl.common.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 设备维护信息
 *
 * @author Sdy
 * @since 1.0.0 2026-06-12
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("bus_maintenance")
public class MaintenanceEntity extends BaseEntity {
    /**
     * 机库SN
     */
    private String dockSn;
    /**
     * 维护内容
     */
    private String content;
    /**
     * 操作人
     */
    private String operator;
    /**
     * 操作时间
     */
    private Date operationDate;

    /**
     * $column.comments
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updater;
    /**
     * $column.comments
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateDate;

    @TableField(exist = false)
    private String dockName;
    @TableField(exist = false)
    private String dockModel;
}