package org.dromara.elevator.domain.bo;

import org.dromara.elevator.domain.EWorkPit;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 工作记录底坑信息;业务对象 e_work_pit
 *
 * @author zy
 * @date 2024-10-08
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = EWorkPit.class, reverseConvertGenerate = false)
public class EWorkPitBo extends BaseEntity {

    /**
     * 主键id
     */
    private Long id;

    /**
     * 电梯编号
     */
    @NotBlank(message = "电梯编号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String elevatorNum;

    /**
     * 工作id
     */
    private Long workId;

    /**
     * 维保计划id
     */
    private Long maintenancePlanId;

    /**
     * 底坑环境状态
     */
    private Long environmentState;

    /**
     * 底坑环境备注
     */
    private String environmentRemark;

    /**
     * 底坑停止装置状态
     */
    private Long stopFeatureState;

    /**
     * 底坑停止装置备注
     */
    private String stopFeatureRemark;

    /**
     * 限速器张紧轮装置状态
     */
    private Long tensioningWheelState;

    /**
     * 限速器张紧轮装置备注
     */
    private String tensioningWheelRemark;

    /**
     * 制动器动作状态监测装置状态
     */
    private Long conditionMonitorState;

    /**
     * 制动器动作状态监测装置备注
     */
    private String conditionMonitorRemark;

    /**
     * 控制柜内各接线端子状态
     */
    private Long terminalState;

    /**
     * 控制柜内各接线端子备注
     */
    private String terminalRemark;

    /**
     * 控制柜各仪表状态
     */
    private Long meterState;

    /**
     * 控制柜各仪表备注
     */
    private String meterRemark;

    /**
     * 安全钳钳座状态
     */
    private Long liftSafetyGearState;

    /**
     * 安全钳钳座备注
     */
    private String liftSafetyGearRemark;

    /**
     * 轿底各安装螺栓状态
     */
    private Long boltState;

    /**
     * 轿底各安装螺栓备注
     */
    private String boltRemark;

    /**
     * 缓冲器状态
     */
    private Long antiFluctuatorState;

    /**
     * 缓冲器备注
     */
    private String antiFluctuatorRemark;

    /**
     * 部门id
     */
    @NotNull(message = "部门id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long deptId;


}
