考勤情况记录数据表、短信发送记录表设计

考勤管理数据表设计

 

1、刷卡记录表

字段

类型

约束

说明

work_id

varchar(64)

not null

工号

username

varchar(64)

not null

姓名

department

varchar(64)

not null

部门

start_time_am

datetime

not null

上午上班时间

end_time_am

datetime

not null

上午下班时间

start_time_pm

datetime

not null

下午上班时间

end_time_pm

datetime

not null

下午下班时间

month

date

not null

月份

 

2、汇总表

字段

类型

约束

说明

work_id

varchar(64)

not null

工号

username

varchar(64)

not null

姓名

department

varchar(64)

not null

部门

standard_duration

Int

not null

标准工时

reality_duration

int

not null

实际工时

late_duration

int

not null

迟到时长(分钟)

late_time

Int

not null

迟到次数

leave_early_duration

Int

not null

早退时长

overtime_standard

Int

 

正常加班(时长)

overtime_holiday

Int

 

假日加班(时长)

standard_day

Int

 

标准工作天数

reality_day

Int

 

实际工作天数

evection_day

Int

 

出差天数

absenteeism_day

Int

 

旷工天数

leave_day

Int

 

请假天数

mark_wage

float

 

标注工资 (加项工资)

overtime_wage

float

 

加班工资(加项工资)

allowance_wage

float

 

津贴(加项工资)

 latesss_wage

Float

 

迟到/早退扣款

 leave_wage

float

 

请假

 deductions

float

 

扣款

reality_wage

float

 

实际工资

mark

text

 

备注

 

 

3、短信发送记录表:

message_work

字段

类型

约束

说明

meaage_id

varchar(64)

not null

短信ID

send_id

varchar(64)

not null

创建人ID

send_name

varchar(64)

not null

创建人名称

receive_id

varchar(64)

not null

接收人ID

receive_name

varchar(64)

not null

接收人名称

receive_phones

int

not null

接收人手机号码

message_content

text

not null

接收人内容

create_time

datetime

not null

创建时间

status

varchar(32)

not null

发送状态(未发送/已发送)

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值