Add support to mark a company founded or sold date as having the month or the day unknown. Fixes #16.

This commit is contained in:
2020-08-04 18:20:35 +01:00
parent 94c98d5d4b
commit ba6d02ba62
12 changed files with 7053 additions and 62 deletions

View File

@@ -69,6 +69,14 @@ namespace Marechai.Database.Models
[Required]
public CompanyStatus Status { get; set; }
public int? DocumentCompanyId { get; set; }
[DefaultValue(false)]
public bool FoundedMonthIsUnknown { get; set; }
[DefaultValue(false)]
public bool FoundedDayIsUnknown { get; set; }
[DefaultValue(false)]
public bool SoldMonthIsUnknown { get; set; }
[DefaultValue(false)]
public bool SoldDayIsUnknown { get; set; }
public virtual Iso31661Numeric Country { get; set; }
[DisplayName("Sold to")]