package com.maintain.business.domain.bo;

import com.maintain.common.core.validate.AddGroup;
import com.maintain.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.maintain.common.core.domain.BaseEntity;

/**
 * 维修与故障关联业务对象 erp_maintain_malfunction
 *
 * @author liushuai
 * @date 2025-03-28
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class ErpMaintainMalfunctionBo extends BaseEntity {

    /**
     * 故障ID
     */
    @NotNull(message = "故障ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long malfunctionId;

    /**
     * 故障项目名称
     */
    private String malfunctionName;

    /**
     * 维修ID
     */
    @NotNull(message = "维修ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long maintainId;

    /**
     * 维修项目名称
     */
    private String maintainName;


}
