Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- namespace jerit.Data
- {
- public class Entity
- {
- public int Id { get; set; }
- }
- public class Complex: Entity
- {
- public string Name { get; set; }
- public Address Address { get; set; }
- public Liaison Liaison { get; set; }
- public Policy Policy { get; set; }
- }
- public class Address
- {
- public string[] Lines { get; set; }
- public string Street { get; set; }
- public string Suburb { get; set; }
- public string City { get; set; }
- public string ZipCode { get; set; }
- }
- public class Policy : Entity
- {
- public Insurer Insurer { get; set; }
- public string Number { get; set; }
- }
- public class Liaison : Entity
- {
- public string Name{ get; set; }
- public string Phone { get; set; }
- public string EmailAddress { get; set; }
- }
- public class Insurer : Entity
- {
- public string Name { get; set; }
- public Liaison Liaison { get; set; }
- }
- }
Add Comment
Please, Sign In to add comment