Hi, I think you need to write the Property as per your Table i.e their in DB.
so you just start added the Variable as per the Data Base Column and Just assign the Property that's all, or else if you are using the C# then just write click on those variable and select the Refactor and then Encapsulate Field option or else
just find below

private string str;

    public string Str
    {
        get { return str; }
        set { str = value; }
    }

Thats all you do for all the DataBase Column.

Regards
Arshad Khan.