All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.fruitful.ecomerce.dto.VendorAttribute Maven / Gradle / Ivy

There is a newer version: 1.2
Show newest version
package io.fruitful.ecomerce.dto;

import com.fasterxml.jackson.annotation.JsonGetter;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonSetter;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@JsonIgnoreProperties(ignoreUnknown = true)
public class VendorAttribute {
	private Integer locationId;

	private Long vendorId;

	@JsonGetter("locationId")
	public Integer getLocationId() {
		return locationId;
	}

	@JsonSetter("location_id")
	public void setLocationId(Integer locationId) {
		this.locationId = locationId;
	}

	@JsonGetter("vendorId")
	public Long getVendorId() {
		return vendorId;
	}

	@JsonSetter("vendor_id")
	public void setVendorId(Long vendorId) {
		this.vendorId = vendorId;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy