X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FDAO%2FCounty.php;h=72415042c8eb81591a41977f41446ed2f628a5e7;hb=e6bfcdd1e767fef7a47973bb1b98174a593bc6f2;hp=0ab0d03f0f260b8291d3309e57699e7062b64c42;hpb=9d867a2719a87964f20c6314919091aaaee86541;p=civicrm-core.git diff --git a/CRM/Core/DAO/County.php b/CRM/Core/DAO/County.php index 0ab0d03f0f..72415042c8 100644 --- a/CRM/Core/DAO/County.php +++ b/CRM/Core/DAO/County.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Core/County.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:f54f7ff28a6ecde09252698c389db154) + * (GenCodeChecksum:3b5b06caf78948fe6bbbafe831c2aa96) */ /** @@ -40,35 +40,45 @@ class CRM_Core_DAO_County extends CRM_Core_DAO { /** * County ID * - * @var int + * @var int|string|null + * (SQL type: int unsigned) + * Note that values will be retrieved from the database as a string. */ public $id; /** * Name of County * - * @var string + * @var string|null + * (SQL type: varchar(64)) + * Note that values will be retrieved from the database as a string. */ public $name; /** * 2-4 Character Abbreviation of County * - * @var string + * @var string|null + * (SQL type: varchar(4)) + * Note that values will be retrieved from the database as a string. */ public $abbreviation; /** * ID of State/Province that County belongs * - * @var int + * @var int|string + * (SQL type: int unsigned) + * Note that values will be retrieved from the database as a string. */ public $state_province_id; /** * Is this County active? * - * @var bool + * @var bool|string + * (SQL type: tinyint) + * Note that values will be retrieved from the database as a string. */ public $is_active; @@ -190,6 +200,7 @@ class CRM_Core_DAO_County extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('County Is Active'), 'description' => ts('Is this County active?'), + 'required' => TRUE, 'where' => 'civicrm_county.is_active', 'default' => '1', 'table_name' => 'civicrm_county',