<commit_before><?php

namespace App\Models\Busi;

use Illuminate\Database\Eloquent\Model;

/**
 * 考勤报表
 * Class AttendanceReport
 * @package App\Models\Busi
 * @author xrs
 * @SWG\Model(id="AttendanceReport")

 * @SWG\Property(name="fcreate_date", type="string", description="创建时间")
 * @SWG\Property(name="fcreator_id", type="integer", description="创建人")
 * @SWG\Property(name="fdocument_status", type="string", description="数据状态")
 * @SWG\Property(name="fmodify_date", type="string", description="修改时间")
 * @SWG\Property(name="fmodify_id", type="integer", description="修改人")
 * @SWG\Property(name="femp_id", type="integer", description="")
 * @SWG\Property(name="forg_id", type="integer", description="")
 * @SWG\Property(name="fabnormal_days", type="integer", description="异常天数")
 * @SWG\Property(name="fnormal_days", type="integer", description="正常天数")
 * @SWG\Property(name="fwork_days", type="integer", description="应打卡天数")
 * @SWG\Property(name="fyear", type="integer", description="年份")
 * @SWG\Property(name="fmonth", type="integer", description="月份")
 * @SWG\Property(name="id", type="integer", description="")
 */
class AttendanceReport extends BaseModel
{
    //
	protected $table = 'attendance_reports';
	protected $with = ['employee'];

	public function employee(){
		return $this->belongsTo(Employee::class, 'femp_id');
	}
}
<commit_msg>modify attendance report and statistic generator command<commit_after><?php

namespace App\Models\Busi;

use Illuminate\Database\Eloquent\Model;

/**
 * 考勤报表
 * Class AttendanceReport
 * @package App\Models\Busi
 * @author xrs
 * @SWG\Model(id="AttendanceReport")
 * @SWG\Property(name="fcreate_date", type="string", description="创建时间")
 * @SWG\Property(name="fcreator_id", type="integer", description="创建人")
 * @SWG\Property(name="fdocument_status", type="string", description="数据状态")
 * @SWG\Property(name="fmodify_date", type="string", description="修改时间")
 * @SWG\Property(name="fmodify_id", type="integer", description="修改人")
 * @SWG\Property(name="femp_id", type="integer", description="")
 * @SWG\Property(name="forg_id", type="integer", description="")
 * @SWG\Property(name="fabnormal_days", type="integer", description="异常天数")
 * @SWG\Property(name="fnormal_days", type="integer", description="正常天数")
 * @SWG\Property(name="fwork_days", type="integer", description="应打卡天数")
 * @SWG\Property(name="fyear", type="integer", description="年份")
 * @SWG\Property(name="fmonth", type="integer", description="月份")
 * @SWG\Property(name="id", type="integer", description="")
 */
class AttendanceReport extends BaseModel
{
    //
	protected $table = 'attendance_reports';
	protected $with = ['employee'];

	public function employee(){
		return $this->belongsTo(Employee::class, 'femp_id');
	}
}

{'fraction_non_alphanumeric': 0.19825072886297376, 'fraction_numerical': 0.0, 'mean_word_length': 7.74203821656051, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6421275', 'n_tokens_mistral': 946, 'n_tokens_neox': 971, 'n_words': 142}