Elwig: Rename buchführend, funktionär, volllieferant, and gebunden

This commit is contained in:
2026-09-30 12:14:25 +02:00
parent 4988081bfd
commit 5f2788eb9e
40 changed files with 393 additions and 355 deletions
+2 -2
View File
@@ -91,8 +91,8 @@ namespace Elwig.Models.Entities {
[Column("hand_picked")]
public bool? IsHandPicked { get; set; }
[Column("gebunden")]
public bool? IsGebunden { get; set; }
[Column("contracted")]
public bool? IsContracted { get; set; }
[Column("unloading")]
public string? Unloading { get; set; }
+6 -6
View File
@@ -105,17 +105,17 @@ namespace Elwig.Models.Entities {
[Column("juridical_pers")]
public bool IsJuridicalPerson { get; set; }
[Column("volllieferant")]
public bool IsVollLieferant { get; set; }
[Column("full_delivery")]
public bool IsFullDelivery { get; set; }
[Column("buchführend")]
public bool IsBuchführend { get; set; }
[Column("accounting")]
public bool IsAccounting { get; set; }
[Column("organic")]
public bool IsOrganic { get; set; }
[Column("funktionär")]
public bool IsFunktionär { get; set; }
[Column("officer")]
public bool IsOfficer { get; set; }
[Column("active")]
public bool IsActive { get; set; }
+1 -1
View File
@@ -107,7 +107,7 @@ namespace Elwig.Models.Entities {
[Column("calc_mode")]
public int CalcMode { get; set; }
[NotMapped]
public bool Billing_HonorGebunden {
public bool Billing_HonorContracted {
get => (CalcMode & 0x1) != 0;
set => CalcMode = value ? CalcMode | 0x1 : CalcMode & ~0x1;
}