HealthyFood.php 294 B

123456789101112131415161718
  1. <?php
  2. namespace app\model;
  3. use support\Model;
  4. class HealthyFood extends Model
  5. {
  6. protected $table = 'healthy_food';
  7. protected $primaryKey = 'food_id';
  8. protected $dateFormat = 'U';
  9. public const CREATED_AT = 'food_addTime';
  10. public const UPDATED_AT = 'food_updateTime';
  11. }