package com.example.chiptuningweb.model;

import jakarta.persistence.Entity;
import jakarta.persistence.GeneratedValue;
import jakarta.persistence.GenerationType;
import jakarta.persistence.Id;

@Entity
public class FullDan {

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

    private String date, fio, phone, modelavto, usluga, sity;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getFio() {
        return fio;
    }

    public void setFio(String fio) {
        this.fio = fio;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getModelavto() {
        return modelavto;
    }

    public void setModelavto(String modelavto) {
        this.modelavto = modelavto;
    }

    public String getUsluga() {
        return usluga;
    }

    public void setUsluga(String usluga) {
        this.usluga = usluga;
    }

    public String getSity() {
        return sity;
    }

    public void setSity(String sity) {
        this.sity = sity;
    }

    public FullDan(String date, String fio, String phone, String modelavto, String usluga, String sity) {
        this.date = date;
        this.fio = fio;
        this.phone = phone;
        this.modelavto = modelavto;
        this.usluga = usluga;
        this.sity = sity;
    }

    public FullDan() {
    }
}
