public ProposalRequestContract()
 {
     this.projectKey          = null;
     this.transmittalDate     = DateTime.MinValue;
     this.totalPages          = 0;
     this.deliveryMethod      = DeliveryContract.Hand;
     this.otherDeliveryMethod = string.Empty;
     this.phaseNumber         = string.Empty;
     this.reimbursable        = false;
     this.final              = false;
     this.copyToList         = new List <CopyToContract>();
     this.transmittalRemarks = string.Empty;
     this.number             = 0;
     this.to          = null;
     this.from        = null;
     this.issueDate   = null;
     this.contractor  = null;
     this.description = string.Empty;
     this.attachment  = string.Empty;
     this.reason      = string.Empty;
     this.initiator   = string.Empty;
     this.cause       = 0;
     this.origin      = 0;
     this.remarks     = string.Empty;
 }
Пример #2
0
 public SubmittalContract()
 {
     this.projectKey                = null;
     this.specSection               = null;
     this.specSectionPrimaryIndex   = string.Empty;
     this.specSectionSecondaryIndex = string.Empty;
     this.to                            = null;
     this.from                          = null;
     this.totalPages                    = 0;
     this.deliveryMethod                = DeliveryContract.Hand;
     this.otherDeliveryMethod           = string.Empty;
     this.phaseNumber                   = string.Empty;
     this.reimbursable                  = false;
     this.final                         = false;
     this.copyToList                    = new List <CopyToContract>();
     this.dateReceived                  = null;
     this.contractNumber                = string.Empty;
     this.trackingItems                 = new List <TrackingItemContract>();
     this.routingItems                  = new List <RoutingItemContract>();
     this.remarks                       = string.Empty;
     this.action                        = ActionStatusContract.NoExceptionTaken;
     this.status                        = null;
     this.dateToField                   = null;
     this.remainderLocation             = SubmittalRemainderLocationContract.FilingCabinet;
     this.remainderUnderSubmittalNumber = string.Empty;
     this.otherRemainderLocation        = string.Empty;
     this.transmittalRemarks            = string.Empty;
 }
Пример #3
0
 public SubmittalContract()
 {
     this.projectKey = null;
     this.specSection = null;
     this.specSectionPrimaryIndex = string.Empty;
     this.specSectionSecondaryIndex = string.Empty;
     this.to = null;
     this.from = null;
     this.totalPages = 0;
     this.deliveryMethod = DeliveryContract.Hand;
     this.otherDeliveryMethod = string.Empty;
     this.phaseNumber = string.Empty;
     this.reimbursable = false;
     this.final = false;
     this.copyToList = new List<CopyToContract>();
     this.dateReceived = null;
     this.contractNumber = string.Empty;
     this.trackingItems = new List<TrackingItemContract>();
     this.routingItems = new List<RoutingItemContract>();
     this.remarks = string.Empty;
     this.action = ActionStatusContract.NoExceptionTaken;
     this.status = null;
     this.dateToField = null;
     this.remainderLocation = SubmittalRemainderLocationContract.FilingCabinet;
     this.remainderUnderSubmittalNumber = string.Empty;
     this.otherRemainderLocation = string.Empty;
 }
 public ConstructionChangeDirectiveContract()
 {
     this.number                  = 0;
     this.to                      = null;
     this.from                    = null;
     this.issueDate               = null;
     this.contractor              = null;
     this.description             = string.Empty;
     this.attachment              = string.Empty;
     this.reason                  = string.Empty;
     this.initiator               = string.Empty;
     this.cause                   = 0;
     this.origin                  = 0;
     this.remarks                 = string.Empty;
     this.changeType              = null;
     this.priceChangeDirection    = ChangeDirectionContract.Unchanged;
     this.amountChanged           = 0;
     this.timeChangeDirection     = ChangeDirectionContract.Unchanged;
     this.timeChanged             = 0;
     this.ownerSignatureDate      = null;
     this.architectSignatureDate  = null;
     this.contractorSignatureDate = null;
 }
 public ConstructionChangeDirectiveContract()
 {
     this.number = 0;
     this.to = null;
     this.from = null;
     this.issueDate = null;
     this.contractor = null;
     this.description = string.Empty;
     this.attachment = string.Empty;
     this.reason = string.Empty;
     this.initiator = string.Empty;
     this.cause = 0;
     this.origin = 0;
     this.remarks = string.Empty;
     this.changeType = null;
     this.priceChangeDirection = ChangeDirectionContract.Unchanged;
     this.amountChanged = 0;
     this.timeChangeDirection = ChangeDirectionContract.Unchanged;
     this.timeChanged = 0;
     this.ownerSignatureDate = null;
     this.architectSignatureDate = null;
     this.contractorSignatureDate = null;
 }
Пример #6
0
 public static Employee ToEmployee(EmployeeContract contract)
 {
     Employee employee = null;
     if (contract != null)
     {
         employee = new Employee(contract.Key, contract.FirstName,
                                contract.LastName);
         employee.FirstName = contract.FirstName;
         employee.Initials = contract.Initials;
         employee.JobTitle = contract.JobTitle;
         employee.LastName = contract.LastName;
     }
     return employee;
 }
Пример #7
0
 public static EmployeeContract ToEmployeeContract(Employee employee)
 {
     EmployeeContract contract = null;
     if (employee != null)
     {
         contract = new EmployeeContract();
         contract.Key = employee.Key;
         contract.FirstName = employee.FirstName;
         contract.Initials = employee.Initials;
         contract.JobTitle = employee.JobTitle;
         contract.LastName = employee.LastName;
     }
     return contract;
 }