B
    fc                 @   s  d dl mZ d dlmZ d dlmZ d dlmZ G dd deZ	ddd	e
ed
dddde
eddddde
eddddde
eddddde
eddddde
eddd d!d"d"dd#d$d%d%dd&d'd(d(dd)d*d+d+dd,d-d.d.dd/d0d1d1dd2d3d4d4dgZdd5d6dddd7d8d9dd:d;dddd<d8d9dd=d>dddd?d8d9dd@dAddddBd8d9ddCdDddddEd8d9ddFdGddddHd8d9d dIdJddKddLdMd9d#dNdOddKddPd8d9d&dQdRddddSd8d9d)dTdUddddVd8d9d,dWdXddddYd8d9d/dZd[ddKdd\d]d9d2d^d_dddd`d8d9dadbdcdddddd8d9dedfdgddddhd8d9didjdkddddld8d9dmdndoddddpd8d9dqdrdsddddtd8d9gZduS )v    )models)gettext_lazy)db_const)AbstractCloudc               @   sh   e Zd ZejddZejddZejddZejdddZ	ejdddZ
ejdddZG dd	 d	Zd
S )AttReportSetting   )default   T)Zblanknullr   )r   r
   c               @   s$   e Zd ZdgZejZedZeZ	dS )zAttReportSetting.MetaidZatt_model_calculateItemN)
__name__
__module____qualname__Zorderingr   Z	APP_LABELZ	app_label_Zverbose_nameZverbose_name_plural r   r   >G:\easytimepro\master/mysite/att\models\model_reportsetting.pyMeta   s   r   N)r   r   r   r   ZSmallIntegerFieldZ
resign_empZ
short_dateZ
short_timeZ	TextFieldZfunc_keyZatt_itemZwork_day_related_displayr   r   r   r   r   r      s   r   r   Zcheck_in0ZpunchState_option_checkIn)r   keyvaluename   Z	check_out1ZpunchState_option_checkOut   Z	break_out2ZpunchState_option_breakOut   Zbreak_in3ZpunchState_option_breakInr	   Zovertime_in4ZpunchState_option_overtimeIn   Zovertime_out5ZpunchState_option_overtimeOut   Zkey66   Zkey77	   Zkey88
   Zkey99   Zkey10Z10   Zkey11Z11   Zkey255Z255ZdurationZ report_column_attendanceDurationZWTz#000000)r   r   r   ZunitZmin_unitZ	round_offZsymbolZreport_colorZ
break_timeZreport_column_breakTimeDurationZBTDZunscheduledZreport_column_unscheduledZUSZ	remainingZreport_column_remainingRZlate_inZreport_column_lateDurationZLTZ	early_outZ report_column_earlyLeaveDurationZELZabsentZreport_column_absentDurationg      ?Az#FF0000ZleaveZreport_column_leaveDurationZLEZovertimeZreport_column_overtimeZOTZmiss_inZreport_column_missInZMIZmiss_outZreport_column_missOutZMOZpresentZreport_column_presentPz#00ff00Zday_offZreport_column_dayOffZDO   ZweekendZreport_column_weekendZWO   ZholidayZreport_column_holidayZHL   Zhalf_dayZreport_column_halfDayStatusZHD   Z	holiday_pZreport_column_holiday_presentZHP   Zweekdayoff_pZ report_column_weekdayoff_presentZWOPN)Z	django.dbr   Zdjango.utils.translationr   r   Z
mysite.attr   Z!mysite.admin.abstract_cloud_modelr   r   strZ	FUNC_KEYSZ	ATT_ITEMSr   r   r   r   <module>   sj   