ChrisCompleteCodeTrunk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
namespace ActionTireCo.Crm.Model.Database
{
[Table("Customer")]
public partial class Customer
{
public Customer()
{
Call = new HashSet<Call>();
CustomerContact = new HashSet<CustomerContact>();
Note = new HashSet<Note>();
}
[DatabaseGenerated(DatabaseGeneratedOption.None)]
public int Id { get; set; }
public int CustomerTypeId { get; set; }
public int UserId { get; set; }
public string Name { get; set; }
public string AddressLine1 { get; set; }
public string AddressLine2 { get; set; }
public string City { get; set; }
public string State { get; set; }
public string Zip { get; set; }
public string Phone { get; set; }
public DateTime DateCreated { get; set; }
public bool? Active { get; set; }
public virtual CustomerType CustomerType { get; set; }
public virtual User User { get; set; }
public virtual ICollection<Call> Call { get; set; }
public virtual ICollection<CustomerContact> CustomerContact { get; set; }
public virtual ICollection<Note> Note { get; set; }
}
}
|
Revision |
Author |
Commited |
Message |
1
|
BBDSCHRIS
|
Wed 22 Aug, 2018 20:08:03 +0000 |
|