dev add tariff endpoints
Test Workflow / test (push) Successful in 4s

This commit is contained in:
vladp
2026-02-02 15:00:18 +07:00
parent 4395654b0d
commit 22b487da22
9 changed files with 184 additions and 31 deletions
@@ -1,6 +1,7 @@
package ru.soune.nocopy.entity.tarif;
import jakarta.persistence.*;
import jakarta.validation.constraints.NotEmpty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
@@ -13,13 +14,11 @@ import lombok.Setter;
@Getter
@Setter
public class Tariff {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;
@Column(name = "type")
@Column(name = "type", unique = true, nullable = false)
private String type;
@Column(name = "tariff_name")