package com.yeejoin.equipmanage.common.dto;

import com.yeejoin.equipmanage.common.entity.SystemEquipmentRelationEntity;
import com.yeejoin.equipmanage.common.entity.publics.BaseDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class SystemEquipmentRelationDto extends BaseDTO<SystemEquipmentRelationEntity> {

    @ApiModelProperty(value = "系统ID")
    private Long systemId;

    @ApiModelProperty(value = "分组编码")
    private Long equipmentId;

    @ApiModelProperty(value = "类型（0：系统部件、1：安措）")
    private Integer type;

    @ApiModelProperty(value = "部件排序")
    private Integer sort;
}
