Advertisement
pabloducato

Company

May 12th, 2019
350
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.46 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. using SQLite;
  5. using CRUD.Views;
  6. using CRUD.Models;
  7.  
  8. namespace CRUD.Models
  9. {
  10.     public class Company
  11.     {
  12.         [PrimaryKey]
  13.         public int Id { get; set; }
  14.         public string Name { get; set; }
  15.         public string Address { get; set; }
  16.  
  17.         public override string ToString()
  18.         {
  19.             return this.Name + "(" + this.Address + ")";
  20.         }
  21.     }
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement