Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace RestoranoMeniu
- {
- class Patiekalas
- {
- private int ID;
- private string pavadinimas;
- private double kaina;
- private string papildomaInfo;
- private string foto;
- public Patiekalas(int ID, string pavadinimas, double kaina, string papildomaInfo, string foto)
- {
- this.ID = ID;
- this.pavadinimas = pavadinimas;
- this.kaina = kaina;
- this.papildomaInfo = papildomaInfo;
- this.foto = foto;
- }
- public int GetID()
- {
- return ID;
- }
- public string GetPavadinimas()
- {
- return pavadinimas;
- }
- public double GetKaina()
- {
- return kaina;
- }
- public string GetInfo()
- {
- return papildomaInfo;
- }
- public string GetFoto()
- {
- return foto;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement