feat(companysetting): add writeonly column and mask values for GUI

This commit is contained in:
seb
2026-09-15 08:48:24 +02:00
parent 2e16a22c99
commit e56f725bd9
10 changed files with 155 additions and 107 deletions

View File

@@ -641,38 +641,42 @@
<!-- companysetting -->
<g id="node11" class="node">
<title>companysetting</title>
<polygon fill="#33415c" stroke="none" points="4140.66,-673.6 4140.66,-698 4269.34,-698 4269.34,-673.6 4140.66,-673.6"/>
<polygon fill="none" stroke="#3f4c5f" points="4140.66,-673.6 4140.66,-698 4269.34,-698 4269.34,-673.6 4140.66,-673.6"/>
<text xml:space="preserve" text-anchor="start" x="4158.99" y="-683.2" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="12.00" fill="#e2e8f0">companysetting</text>
<polygon fill="#2b3a52" stroke="none" points="4140.66,-646.8 4140.66,-673.6 4269.34,-673.6 4269.34,-646.8 4140.66,-646.8"/>
<polygon fill="none" stroke="#3f4c5f" points="4140.66,-646.8 4140.66,-673.6 4269.34,-673.6 4269.34,-646.8 4140.66,-646.8"/>
<text xml:space="preserve" text-anchor="start" x="4145.66" y="-657" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="14.00" fill="#d8dee9">id</text>
<text xml:space="preserve" text-anchor="start" x="4234.84" y="-658.5" font-family="Helvetica,sans-Serif" font-size="9.00" fill="#8b95a7">INT </text>
<text xml:space="preserve" text-anchor="start" x="4251.84" y="-658.5" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="9.00" fill="#8b95a7">PK</text>
<polygon fill="#2b3a52" stroke="none" points="4140.66,-620 4140.66,-646.8 4269.34,-646.8 4269.34,-620 4140.66,-620"/>
<polygon fill="none" stroke="#3f4c5f" points="4140.66,-620 4140.66,-646.8 4269.34,-646.8 4269.34,-620 4140.66,-620"/>
<text xml:space="preserve" text-anchor="start" x="4145.66" y="-630.2" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="14.00" fill="#d8dee9">company_id</text>
<text xml:space="preserve" text-anchor="start" x="4235.35" y="-631.7" font-family="Helvetica,sans-Serif" font-size="9.00" fill="#8b95a7">INT </text>
<text xml:space="preserve" text-anchor="start" x="4252.35" y="-631.7" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="9.00" fill="#8b95a7">FK</text>
<polygon fill="#2a3242" stroke="none" points="4140.66,-593.2 4140.66,-620 4269.34,-620 4269.34,-593.2 4140.66,-593.2"/>
<polygon fill="none" stroke="#3f4c5f" points="4140.66,-593.2 4140.66,-620 4269.34,-620 4269.34,-593.2 4140.66,-593.2"/>
<text xml:space="preserve" text-anchor="start" x="4145.66" y="-601" font-family="Helvetica,sans-Serif" font-size="14.00" fill="#d8dee9">key</text>
<text xml:space="preserve" text-anchor="start" x="4192.83" y="-603" font-family="Helvetica,sans-Serif" font-size="9.00" fill="#8b95a7">NVARCHAR(255)</text>
<polygon fill="#272e3d" stroke="none" points="4140.66,-566.4 4140.66,-593.2 4269.34,-593.2 4269.34,-566.4 4140.66,-566.4"/>
<polygon fill="none" stroke="#3f4c5f" points="4140.66,-566.4 4140.66,-593.2 4269.34,-593.2 4269.34,-566.4 4140.66,-566.4"/>
<text xml:space="preserve" text-anchor="start" x="4145.66" y="-574.2" font-family="Helvetica,sans-Serif" font-size="14.00" fill="#d8dee9">value</text>
<text xml:space="preserve" text-anchor="start" x="4188.34" y="-576.2" font-family="Helvetica,sans-Serif" font-size="9.00" fill="#8b95a7">NVARCHAR(MAX)</text>
<polygon fill="#2a3242" stroke="none" points="4140.66,-539.6 4140.66,-566.4 4269.34,-566.4 4269.34,-539.6 4140.66,-539.6"/>
<polygon fill="none" stroke="#3f4c5f" points="4140.66,-539.6 4140.66,-566.4 4269.34,-566.4 4269.34,-539.6 4140.66,-539.6"/>
<text xml:space="preserve" text-anchor="start" x="4145.66" y="-547.4" font-family="Helvetica,sans-Serif" font-size="14.00" fill="#d8dee9">frontend</text>
<text xml:space="preserve" text-anchor="start" x="4250.34" y="-549.4" font-family="Helvetica,sans-Serif" font-size="9.00" fill="#8b95a7">BIT</text>
<polygon fill="#33415c" stroke="none" points="4140.66,-687 4140.66,-711.4 4269.34,-711.4 4269.34,-687 4140.66,-687"/>
<polygon fill="none" stroke="#3f4c5f" points="4140.66,-687 4140.66,-711.4 4269.34,-711.4 4269.34,-687 4140.66,-687"/>
<text xml:space="preserve" text-anchor="start" x="4158.99" y="-696.6" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="12.00" fill="#e2e8f0">companysetting</text>
<polygon fill="#2b3a52" stroke="none" points="4140.66,-660.2 4140.66,-687 4269.34,-687 4269.34,-660.2 4140.66,-660.2"/>
<polygon fill="none" stroke="#3f4c5f" points="4140.66,-660.2 4140.66,-687 4269.34,-687 4269.34,-660.2 4140.66,-660.2"/>
<text xml:space="preserve" text-anchor="start" x="4145.66" y="-670.4" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="14.00" fill="#d8dee9">id</text>
<text xml:space="preserve" text-anchor="start" x="4234.84" y="-671.9" font-family="Helvetica,sans-Serif" font-size="9.00" fill="#8b95a7">INT </text>
<text xml:space="preserve" text-anchor="start" x="4251.84" y="-671.9" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="9.00" fill="#8b95a7">PK</text>
<polygon fill="#2b3a52" stroke="none" points="4140.66,-633.4 4140.66,-660.2 4269.34,-660.2 4269.34,-633.4 4140.66,-633.4"/>
<polygon fill="none" stroke="#3f4c5f" points="4140.66,-633.4 4140.66,-660.2 4269.34,-660.2 4269.34,-633.4 4140.66,-633.4"/>
<text xml:space="preserve" text-anchor="start" x="4145.66" y="-643.6" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="14.00" fill="#d8dee9">company_id</text>
<text xml:space="preserve" text-anchor="start" x="4235.35" y="-645.1" font-family="Helvetica,sans-Serif" font-size="9.00" fill="#8b95a7">INT </text>
<text xml:space="preserve" text-anchor="start" x="4252.35" y="-645.1" font-family="Helvetica,sans-Serif" font-weight="bold" font-size="9.00" fill="#8b95a7">FK</text>
<polygon fill="#2a3242" stroke="none" points="4140.66,-606.6 4140.66,-633.4 4269.34,-633.4 4269.34,-606.6 4140.66,-606.6"/>
<polygon fill="none" stroke="#3f4c5f" points="4140.66,-606.6 4140.66,-633.4 4269.34,-633.4 4269.34,-606.6 4140.66,-606.6"/>
<text xml:space="preserve" text-anchor="start" x="4145.66" y="-614.4" font-family="Helvetica,sans-Serif" font-size="14.00" fill="#d8dee9">key</text>
<text xml:space="preserve" text-anchor="start" x="4192.83" y="-616.4" font-family="Helvetica,sans-Serif" font-size="9.00" fill="#8b95a7">NVARCHAR(255)</text>
<polygon fill="#272e3d" stroke="none" points="4140.66,-579.8 4140.66,-606.6 4269.34,-606.6 4269.34,-579.8 4140.66,-579.8"/>
<polygon fill="none" stroke="#3f4c5f" points="4140.66,-579.8 4140.66,-606.6 4269.34,-606.6 4269.34,-579.8 4140.66,-579.8"/>
<text xml:space="preserve" text-anchor="start" x="4145.66" y="-587.6" font-family="Helvetica,sans-Serif" font-size="14.00" fill="#d8dee9">value</text>
<text xml:space="preserve" text-anchor="start" x="4188.34" y="-589.6" font-family="Helvetica,sans-Serif" font-size="9.00" fill="#8b95a7">NVARCHAR(MAX)</text>
<polygon fill="#2a3242" stroke="none" points="4140.66,-553 4140.66,-579.8 4269.34,-579.8 4269.34,-553 4140.66,-553"/>
<polygon fill="none" stroke="#3f4c5f" points="4140.66,-553 4140.66,-579.8 4269.34,-579.8 4269.34,-553 4140.66,-553"/>
<text xml:space="preserve" text-anchor="start" x="4145.66" y="-560.8" font-family="Helvetica,sans-Serif" font-size="14.00" fill="#d8dee9">frontend</text>
<text xml:space="preserve" text-anchor="start" x="4250.34" y="-562.8" font-family="Helvetica,sans-Serif" font-size="9.00" fill="#8b95a7">BIT</text>
<polygon fill="#272e3d" stroke="none" points="4140.66,-526.2 4140.66,-553 4269.34,-553 4269.34,-526.2 4140.66,-526.2"/>
<polygon fill="none" stroke="#3f4c5f" points="4140.66,-526.2 4140.66,-553 4269.34,-553 4269.34,-526.2 4140.66,-526.2"/>
<text xml:space="preserve" text-anchor="start" x="4145.66" y="-534" font-family="Helvetica,sans-Serif" font-size="14.00" fill="#d8dee9">writeonly</text>
<text xml:space="preserve" text-anchor="start" x="4250.34" y="-536" font-family="Helvetica,sans-Serif" font-size="9.00" fill="#8b95a7">BIT</text>
</g>
<!-- companysetting&#45;&gt;company -->
<g id="edge59" class="edge">
<title>companysetting:w&#45;&gt;company:n</title>
<g id="a_edge59"><a xlink:title="FK_companysetting_company">
<path fill="none" stroke="#ff8f66" stroke-width="1.4" d="M4139.66,-633.4C4080.56,-633.4 4144.57,-544.43 4099,-506.8 3991.54,-418.07 3485.2,-565.62 3463.5,-438.57"/>
<polygon fill="#ff8f66" stroke="#ff8f66" stroke-width="1.4" points="3465.96,-438.69 3462.95,-431.91 3461.08,-439.09 3465.96,-438.69"/>
<path fill="none" stroke="#ff8f66" stroke-width="1.4" d="M4139.66,-646.8C4074.86,-646.8 4148.38,-548.75 4099,-506.8 3992.8,-416.57 3485.26,-565.56 3463.5,-438.57"/>
<polygon fill="#ff8f66" stroke="#ff8f66" stroke-width="1.4" points="3465.97,-438.69 3462.95,-431.91 3461.08,-439.09 3465.97,-438.69"/>
</a>
</g>
</g>

Before

Width:  |  Height:  |  Size: 197 KiB

After

Width:  |  Height:  |  Size: 197 KiB