GIT: perform LF normalization

This commit is contained in:
Gary Sharp
2013-02-28 17:15:46 +11:00
parent 989f08a24d
commit 7d9be5620d
729 changed files with 300734 additions and 300712 deletions
@@ -1,68 +1,68 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Disco.Models.Repository
{
public class JobMetaInsurance
{
[Required, Key]
public int JobId { get; set; }
[DisplayFormat(ApplyFormatInEditMode = true, ConvertEmptyStringToNull = true, DataFormatString = "{0:yyyy/MM/dd hh:mm tt}", HtmlEncode = false)]
public DateTime? LossOrDamageDate { get; set; }
[StringLength(200)]
public string EventLocation { get; set; }
[DataType(DataType.MultilineText)]
public string Description { get; set; }
[Display(Name = "Caused by Third Party")]
public bool ThirdPartyCaused { get; set; }
[StringLength(200)]
public string ThirdPartyCausedName { get; set; }
[DataType(DataType.MultilineText), StringLength(600)]
public string ThirdPartyCausedWhy { get; set; }
[StringLength(1200), DataType(DataType.MultilineText)]
public string WitnessesNamesAddresses { get; set; }
[StringLength(200)]
public string BurglaryTheftMethodOfEntry { get; set; }
[DisplayFormat(ApplyFormatInEditMode = true, ConvertEmptyStringToNull = true, DataFormatString = "{0:yyyy/MM/dd hh:mm tt}", HtmlEncode = false)]
public DateTime? PropertyLastSeenDate { get; set; }
[Display(Name = "Police Notified")]
public bool PoliceNotified { get; set; }
[StringLength(200)]
public string PoliceNotifiedStation { get; set; }
[DisplayFormat(ApplyFormatInEditMode = true, ConvertEmptyStringToNull = true, DataFormatString = "{0:yyyy/MM/dd}", HtmlEncode = false)]
public DateTime? PoliceNotifiedDate { get; set; }
[StringLength(400)]
public string PoliceNotifiedCrimeReportNo { get; set; }
[DataType(DataType.MultilineText), StringLength(800)]
public string RecoverReduceAction { get; set; }
[StringLength(500)]
public string OtherInterestedParties { get; set; }
[DisplayFormat(ApplyFormatInEditMode = true, ConvertEmptyStringToNull = true, DataFormatString = "{0:yyyy/MM/dd}", HtmlEncode = false)]
public DateTime? DateOfPurchase { get; set; }
[DisplayFormat(ApplyFormatInEditMode = true, ConvertEmptyStringToNull = true, DataFormatString = "{0:yyyy/MM/dd hh:mm tt}", HtmlEncode = false)]
public DateTime? ClaimFormSentDate { get; set; }
public string ClaimFormSentUserId { get; set; }
[Required, ForeignKey("JobId")]
public virtual Job Job { get; set; }
[ForeignKey("ClaimFormSentUserId")]
public virtual User ClaimFormSentUser { get; set; }
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Disco.Models.Repository
{
public class JobMetaInsurance
{
[Required, Key]
public int JobId { get; set; }
[DisplayFormat(ApplyFormatInEditMode = true, ConvertEmptyStringToNull = true, DataFormatString = "{0:yyyy/MM/dd hh:mm tt}", HtmlEncode = false)]
public DateTime? LossOrDamageDate { get; set; }
[StringLength(200)]
public string EventLocation { get; set; }
[DataType(DataType.MultilineText)]
public string Description { get; set; }
[Display(Name = "Caused by Third Party")]
public bool ThirdPartyCaused { get; set; }
[StringLength(200)]
public string ThirdPartyCausedName { get; set; }
[DataType(DataType.MultilineText), StringLength(600)]
public string ThirdPartyCausedWhy { get; set; }
[StringLength(1200), DataType(DataType.MultilineText)]
public string WitnessesNamesAddresses { get; set; }
[StringLength(200)]
public string BurglaryTheftMethodOfEntry { get; set; }
[DisplayFormat(ApplyFormatInEditMode = true, ConvertEmptyStringToNull = true, DataFormatString = "{0:yyyy/MM/dd hh:mm tt}", HtmlEncode = false)]
public DateTime? PropertyLastSeenDate { get; set; }
[Display(Name = "Police Notified")]
public bool PoliceNotified { get; set; }
[StringLength(200)]
public string PoliceNotifiedStation { get; set; }
[DisplayFormat(ApplyFormatInEditMode = true, ConvertEmptyStringToNull = true, DataFormatString = "{0:yyyy/MM/dd}", HtmlEncode = false)]
public DateTime? PoliceNotifiedDate { get; set; }
[StringLength(400)]
public string PoliceNotifiedCrimeReportNo { get; set; }
[DataType(DataType.MultilineText), StringLength(800)]
public string RecoverReduceAction { get; set; }
[StringLength(500)]
public string OtherInterestedParties { get; set; }
[DisplayFormat(ApplyFormatInEditMode = true, ConvertEmptyStringToNull = true, DataFormatString = "{0:yyyy/MM/dd}", HtmlEncode = false)]
public DateTime? DateOfPurchase { get; set; }
[DisplayFormat(ApplyFormatInEditMode = true, ConvertEmptyStringToNull = true, DataFormatString = "{0:yyyy/MM/dd hh:mm tt}", HtmlEncode = false)]
public DateTime? ClaimFormSentDate { get; set; }
public string ClaimFormSentUserId { get; set; }
[Required, ForeignKey("JobId")]
public virtual Job Job { get; set; }
[ForeignKey("ClaimFormSentUserId")]
public virtual User ClaimFormSentUser { get; set; }
}
}
@@ -1,67 +1,67 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Disco.Models.Repository
{
public class JobMetaNonWarranty
{
[Key, Required]
public int JobId { get; set; }
public bool IsInsuranceClaim { get; set; }
// Feature Request 2012-05-10 by Michael E: https://disco.uservoice.com/forums/159707-feedback/suggestions/2811092-document-template-option-flatten-form-on-generate
[DisplayFormat(ApplyFormatInEditMode = true, ConvertEmptyStringToNull = true, DataFormatString = "{0:yyyy/MM/dd hh:mm tt}", HtmlEncode = false)]
public DateTime? AccountingChargeRequiredDate { get; set; }
[ForeignKey("AccountingChargeRequiredUserId")]
public virtual User AccountingChargeRequiredUser { get; set; }
public string AccountingChargeRequiredUserId { get; set; }
// End Feature Request
[DisplayFormat(ApplyFormatInEditMode = true, ConvertEmptyStringToNull = true, DataFormatString = "{0:yyyy/MM/dd hh:mm tt}", HtmlEncode = false)]
public DateTime? AccountingChargeAddedDate { get; set; }
[ForeignKey("AccountingChargeAddedUserId")]
public virtual User AccountingChargeAddedUser { get; set; }
public string AccountingChargeAddedUserId { get; set; }
[DisplayFormat(ApplyFormatInEditMode = true, ConvertEmptyStringToNull = true, DataFormatString = "{0:yyyy/MM/dd hh:mm tt}", HtmlEncode = false)]
public DateTime? AccountingChargePaidDate { get; set; }
[ForeignKey("AccountingChargePaidUserId")]
public virtual User AccountingChargePaidUser { get; set; }
public string AccountingChargePaidUserId { get; set; }
[DisplayFormat(ApplyFormatInEditMode = true, ConvertEmptyStringToNull = true, DataFormatString = "{0:yyyy/MM/dd hh:mm tt}", HtmlEncode = false)]
public DateTime? PurchaseOrderRaisedDate { get; set; }
[ForeignKey("PurchaseOrderRaisedUserId")]
public virtual User PurchaseOrderRaisedUser { get; set; }
public string PurchaseOrderRaisedUserId { get; set; }
[StringLength(20)]
public string PurchaseOrderReference { get; set; }
[DisplayFormat(ApplyFormatInEditMode = true, ConvertEmptyStringToNull = true, DataFormatString = "{0:yyyy/MM/dd hh:mm tt}", HtmlEncode = false)]
public DateTime? PurchaseOrderSentDate { get; set; }
[ForeignKey("PurchaseOrderSentUserId")]
public virtual User PurchaseOrderSentUser { get; set; }
public string PurchaseOrderSentUserId { get; set; }
[DisplayFormat(ApplyFormatInEditMode = true, ConvertEmptyStringToNull = true, DataFormatString = "{0:yyyy/MM/dd hh:mm tt}", HtmlEncode = false)]
public DateTime? InvoiceReceivedDate { get; set; }
[ForeignKey("InvoiceReceivedUserId")]
public virtual User InvoiceReceivedUser { get; set; }
public string InvoiceReceivedUserId { get; set; }
[StringLength(100)]
public string RepairerName { get; set; }
[DisplayFormat(ApplyFormatInEditMode = true, ConvertEmptyStringToNull = true, DataFormatString = "{0:yyyy/MM/dd hh:mm tt}", HtmlEncode = false)]
public DateTime? RepairerLoggedDate { get; set; }
[StringLength(100)]
public string RepairerReference { get; set; }
[DisplayFormat(ApplyFormatInEditMode = true, ConvertEmptyStringToNull = true, DataFormatString = "{0:yyyy/MM/dd hh:mm tt}", HtmlEncode = false)]
public DateTime? RepairerCompletedDate { get; set; }
[ForeignKey("JobId"), Required]
public virtual Job Job { get; set; }
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Disco.Models.Repository
{
public class JobMetaNonWarranty
{
[Key, Required]
public int JobId { get; set; }
public bool IsInsuranceClaim { get; set; }
// Feature Request 2012-05-10 by Michael E: https://disco.uservoice.com/forums/159707-feedback/suggestions/2811092-document-template-option-flatten-form-on-generate
[DisplayFormat(ApplyFormatInEditMode = true, ConvertEmptyStringToNull = true, DataFormatString = "{0:yyyy/MM/dd hh:mm tt}", HtmlEncode = false)]
public DateTime? AccountingChargeRequiredDate { get; set; }
[ForeignKey("AccountingChargeRequiredUserId")]
public virtual User AccountingChargeRequiredUser { get; set; }
public string AccountingChargeRequiredUserId { get; set; }
// End Feature Request
[DisplayFormat(ApplyFormatInEditMode = true, ConvertEmptyStringToNull = true, DataFormatString = "{0:yyyy/MM/dd hh:mm tt}", HtmlEncode = false)]
public DateTime? AccountingChargeAddedDate { get; set; }
[ForeignKey("AccountingChargeAddedUserId")]
public virtual User AccountingChargeAddedUser { get; set; }
public string AccountingChargeAddedUserId { get; set; }
[DisplayFormat(ApplyFormatInEditMode = true, ConvertEmptyStringToNull = true, DataFormatString = "{0:yyyy/MM/dd hh:mm tt}", HtmlEncode = false)]
public DateTime? AccountingChargePaidDate { get; set; }
[ForeignKey("AccountingChargePaidUserId")]
public virtual User AccountingChargePaidUser { get; set; }
public string AccountingChargePaidUserId { get; set; }
[DisplayFormat(ApplyFormatInEditMode = true, ConvertEmptyStringToNull = true, DataFormatString = "{0:yyyy/MM/dd hh:mm tt}", HtmlEncode = false)]
public DateTime? PurchaseOrderRaisedDate { get; set; }
[ForeignKey("PurchaseOrderRaisedUserId")]
public virtual User PurchaseOrderRaisedUser { get; set; }
public string PurchaseOrderRaisedUserId { get; set; }
[StringLength(20)]
public string PurchaseOrderReference { get; set; }
[DisplayFormat(ApplyFormatInEditMode = true, ConvertEmptyStringToNull = true, DataFormatString = "{0:yyyy/MM/dd hh:mm tt}", HtmlEncode = false)]
public DateTime? PurchaseOrderSentDate { get; set; }
[ForeignKey("PurchaseOrderSentUserId")]
public virtual User PurchaseOrderSentUser { get; set; }
public string PurchaseOrderSentUserId { get; set; }
[DisplayFormat(ApplyFormatInEditMode = true, ConvertEmptyStringToNull = true, DataFormatString = "{0:yyyy/MM/dd hh:mm tt}", HtmlEncode = false)]
public DateTime? InvoiceReceivedDate { get; set; }
[ForeignKey("InvoiceReceivedUserId")]
public virtual User InvoiceReceivedUser { get; set; }
public string InvoiceReceivedUserId { get; set; }
[StringLength(100)]
public string RepairerName { get; set; }
[DisplayFormat(ApplyFormatInEditMode = true, ConvertEmptyStringToNull = true, DataFormatString = "{0:yyyy/MM/dd hh:mm tt}", HtmlEncode = false)]
public DateTime? RepairerLoggedDate { get; set; }
[StringLength(100)]
public string RepairerReference { get; set; }
[DisplayFormat(ApplyFormatInEditMode = true, ConvertEmptyStringToNull = true, DataFormatString = "{0:yyyy/MM/dd hh:mm tt}", HtmlEncode = false)]
public DateTime? RepairerCompletedDate { get; set; }
[ForeignKey("JobId"), Required]
public virtual Job Job { get; set; }
}
}
@@ -1,27 +1,27 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Disco.Models.Repository
{
public class JobMetaWarranty
{
[Required, Key]
public int JobId { get; set; }
[StringLength(100)]
public string ExternalName { get; set; }
[DisplayFormat(ApplyFormatInEditMode = true, ConvertEmptyStringToNull = true, DataFormatString = "{0:yyyy/MM/dd hh:mm tt}", HtmlEncode = false)]
public DateTime? ExternalLoggedDate { get; set; }
[StringLength(100)]
public string ExternalReference { get; set; }
[DisplayFormat(ApplyFormatInEditMode = true, ConvertEmptyStringToNull = true, DataFormatString = "{0:yyyy/MM/dd hh:mm tt}", HtmlEncode = false)]
public DateTime? ExternalCompletedDate { get; set; }
[ForeignKey("JobId"), Required]
public virtual Job Job { get; set; }
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Disco.Models.Repository
{
public class JobMetaWarranty
{
[Required, Key]
public int JobId { get; set; }
[StringLength(100)]
public string ExternalName { get; set; }
[DisplayFormat(ApplyFormatInEditMode = true, ConvertEmptyStringToNull = true, DataFormatString = "{0:yyyy/MM/dd hh:mm tt}", HtmlEncode = false)]
public DateTime? ExternalLoggedDate { get; set; }
[StringLength(100)]
public string ExternalReference { get; set; }
[DisplayFormat(ApplyFormatInEditMode = true, ConvertEmptyStringToNull = true, DataFormatString = "{0:yyyy/MM/dd hh:mm tt}", HtmlEncode = false)]
public DateTime? ExternalCompletedDate { get; set; }
[ForeignKey("JobId"), Required]
public virtual Job Job { get; set; }
}
}