package jnpf.entity.attendance;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.Date;

/**
 * 考勤机日志
 *
 * @author yanwenfu
 * @create 2024-07-30
 */
@Getter
@Setter
@NoArgsConstructor
@TableName(value ="ftb_attendance_machine_log")
public class AttendanceMachineLog {

    @TableId("F_Id")
    private String id;

    @TableField(value = "F_FactoryCode")
    private String factoryCode;

    @TableField(value = "F_UserId")
    private String userId;

    @TableField(value = "F_UserName")
    private String userName;

    @TableField(value = "F_GroupId")
    private String groupId;

    @TableField(value = "F_GroupName")
    private String groupName;

    @TableField(value = "F_Action")
    private String action;

    @TableField(value = "F_ParamJson")
    private String paramJson;

    @TableField(value = "F_MethodResult")
    private String methodResult;

    @TableField(value = "F_CreatorTime")
    private Date creatorTime;

    public AttendanceMachineLog(String id, String factoryCode, String userId, String userName, String groupId, String groupName, String action, String paramJson, Date creatorTime) {
        this.id = id;
        this.factoryCode = factoryCode;
        this.userId = userId;
        this.userName = userName;
        this.groupId = groupId;
        this.groupName = groupName;
        this.action = action;
        this.paramJson = paramJson;
        this.creatorTime = creatorTime;
    }
}
