Merge pull request #23419 from chrisgaraffa/contactheader-regions
[civicrm-core.git] / CRM / Core / DAO / County.php
index 0ab0d03f0f260b8291d3309e57699e7062b64c42..72415042c8eb81591a41977f41446ed2f628a5e7 100644 (file)
@@ -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',