package com.microservices.zone.resource.domain;

import lombok.Data;

/**
 * 资源和资源类型关联 zone_resource_to_type
 *
 * @author otto
 */
@Data
public class ZoneResourceToType {
    public ZoneResourceToType() {
    }

    public ZoneResourceToType(Long resourceId, Long typeId) {
        this.resourceId = resourceId;
        this.typeId = typeId;
    }

    /**
     * 资源Id
     */
    private Long resourceId;

    /**
     * 资源类型Id
     */
    private Long typeId;
}
