FarmGoods.php 293 B

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