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.

26 line
549B

  1. <?php
  2. namespace App\Kintone\Models;
  3. class SeasonTicketContract extends KintoneModel
  4. {
  5. const CONFIG_KEY = "KINTONE_APP_SEASON_TICKET_CONTRACT";
  6. const FIELD_CUSTOMER_NAME = "顧客名";
  7. protected const FIELDS = [
  8. ...parent::FIELDS,
  9. self::FIELD_CUSTOMER_NAME => FieldType::SINGLE_LINE_TEXT,
  10. ];
  11. protected const FIELD_NAMES = [
  12. ...parent::FIELD_NAMES,
  13. self::FIELD_CUSTOMER_NAME => 'customer_name',
  14. ];
  15. protected function setDataCustom(array $data): bool
  16. {
  17. return true;
  18. }
  19. }