Frappe Display Numeric Field as Text

Hi all,

I have a field that is numeric (doctype select field with the values 0 = AC Connected, 1 = Solar Charging, 2 = No AC/Solar). I want to display this field in text similar to Frappe docstatus where 0=Draft, 1=Submitted, 2=Cancelled. What’s the easiest way to achieve this so that any display of this field is in text.

Any help is appreciated.

I would create a new DocType with fields:
Code (Int), Title (Data). Autoname by field:Code.
I would use this doctype instead of plain numeric field.