git_bsmd/nsw/Source/bsmd.database/ReportingParty.cs

59 lines
1.2 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace bsmd.database
{
public class ReportingParty
{
private Guid id;
#region enumerations
public enum ReportingPartyTypeEnum
{ MASTER, SHIPOWNER, CHARTERER, AGENT, PORT_AUTHORITY, CARRIER, OTHERS }
#endregion
#region Properties
public Guid Id { get { return this.id; } }
public string Name { get; set; }
public string StreetAndNumber { get; set; }
public string PostalCode { get; set; }
public string City { get; set; }
public string Country { get; set; }
public string LastName { get; set; }
public string FirstName { get; set; }
public string Phone { get; set; }
public string Fax { get; set; }
public string EMail { get; set; }
public ReportingPartyTypeEnum? ReportingPartyType { get; set; }
#endregion
#region overrides
public override string ToString()
{
return this.Name;
}
#endregion
}
}