You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

57 lines
1.4 KiB

  1. <?php
  2. namespace backend\modules\hotel\models;
  3. use Yii;
  4. /**
  5. * This is the model class for table "base_confirm_organization".
  6. *
  7. * @property integer $ID
  8. * @property integer $CANCEL_FLAG
  9. * @property integer $CREATE_USER_ID
  10. * @property string $CREATE_TIME
  11. * @property integer $UPDATE_USER_ID
  12. * @property string $UPDATE_TIME
  13. * @property string $ORG_NAME
  14. */
  15. class BaseConfirmOrganization extends \common\models\zModel
  16. {
  17. /**
  18. * @inheritdoc
  19. */
  20. public static function tableName()
  21. {
  22. return 'base_confirm_organization';
  23. }
  24. /**
  25. * @inheritdoc
  26. */
  27. public function rules()
  28. {
  29. return [
  30. [['CANCEL_FLAG', 'CREATE_USER_ID', 'UPDATE_USER_ID'], 'integer'],
  31. [['CREATE_USER_ID', 'UPDATE_USER_ID'], 'required'],
  32. [['UPDATE_TIME'], 'safe'],
  33. [['CREATE_TIME', 'ORG_NAME'], 'string', 'max' => 200],
  34. ];
  35. }
  36. /**
  37. * @inheritdoc
  38. */
  39. public function attributeLabels()
  40. {
  41. return [
  42. 'ID' => 'ID',
  43. 'CANCEL_FLAG' => '记录有效性标记,0:记录有效;1:记录已删除',
  44. 'CREATE_USER_ID' => '记录创建用户ID',
  45. 'CREATE_TIME' => '记录创建时间',
  46. 'UPDATE_USER_ID' => '记录最后更新用户ID',
  47. 'UPDATE_TIME' => '记录最后更新时间',
  48. 'ORG_NAME' => '发单主体名称',
  49. ];
  50. }
  51. }