Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Imports System.Collections.Generic
- Imports System.ComponentModel.DataAnnotations
- Imports System.ComponentModel.DataAnnotations.Schema
- Public Class Company
- Public Property id As Integer
- Public Property name As String
- Public Property registrationno As String
- <Display(Name:="Street 1")>
- Public Property addressstreet1 As String
- <Display(Name:="Street 2")>
- Public Property addressstreet2 As String
- Public Property postcode As String
- Public Property city As String
- Public Property state As String
- Public Property country As String
- Public ReadOnly Property roAddress As String
- Get
- Return addressstreet1 & ", " & addressstreet2 & ", " & postcode & " " & city & ", " & state & ", " & country
- End Get
- End Property
- Public Property phone As String
- Public Property fax As String
- <Display(Name:="Website URL")>
- Public Property websiteURL As String
- <Display(Name:="Email Address")>
- Public Property email As String
- Public Property logo As String
- Public Property datetimecreated As DateTime
- '-Email Setting
- Public Property usedefaultemailsetting As Boolean = True
- Public Property emailport As String
- Public Property emailhost As String
- Public Property emailfromaddress As String
- Public Property emailusername As String
- Public Property emailpassword As String
- Public Property emailenablessl As Boolean
- Public Overridable Property auditlogs As ICollection(Of AuditLog) = New HashSet(Of AuditLog)
- End Class
Advertisement
Add Comment
Please, Sign In to add comment