package com.ssm.manage.dto;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.ssm.manage.page.BasePage;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.FieldNameConstants;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Column;
import javax.persistence.Id;
import java.util.Date;

/**
 * 工作内容
 * (JobContentList)查询类
 *
 * @author makejava
 * @since 2023-12-19 13:56:52
 */
@Data
@ApiModel(value = "工作内容 Dto")
@JsonIgnoreProperties(ignoreUnknown = true)
@FieldNameConstants
public class JobContentListDto extends BasePage {
    /**
     * 结束时间
     */
    @Column(name = "check_end_time")
    @ApiModelProperty(name = "check_end_time", value = "结束时间")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date checkEndTime;
    /**
     * 0未推送/1已推送
     */
    @Column(name = "is_beisen")
    @ApiModelProperty(name = "isBeisen", value = "0未推送/1已推送")
    private Integer isBeisen;
    @ApiModelProperty(name = "startTime", value = "开始时间")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startTime;
    @ApiModelProperty(name = "lastTime", value = "结束时间")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date lastTime;
    @Id
    @Column(name = "id")
    private Long id;
    /**
     * 员工id
     */
    @Column(name = "staff_id")
    @ApiModelProperty(name = "staffId", value = "员工id")
    private Long staffId;
    /**
     * 考勤内容
     */
    @Column(name = "check_content")
    @ApiModelProperty(name = "checkContent", value = "考勤内容")
    private Long checkContent;
    /**
     * 员工名字
     */
    @Column(name = "staff_name")
    @ApiModelProperty(name = "staffName", value = "员工名字")
    private String staffName;
    /**
     * 0男/1女
     */
    @Column(name = "sex")
    @ApiModelProperty(name = "sex", value = "0男/1女")
    private Integer sex;
    /**
     * 手机号
     */
    @Column(name = "mobile_phone")
    @ApiModelProperty(name = "mobilePhone", value = "手机号")
    private String mobilePhone;
    /**
     * 身份证
     */
    @Column(name = "identity_card")
    @ApiModelProperty(name = "identityCard", value = "身份证")
    private String identityCard;
    /**
     * 开始时间
     */
    @Column(name = "check_time")
    @ApiModelProperty(name = "checkTime", value = "开始时间")
    private Date checkTime;
    /**
     * 工作内容
     */
    @Column(name = "job_content")
    @ApiModelProperty(name = "jobContent", value = "工作内容")
    private String jobContent;
    /**
     * 区域id
     */
    @Column(name = "region_id")
    @ApiModelProperty(name = "regionId", value = "区域id")
    private Integer regionId;
    /**
     * 企业id
     */
    @Column(name = "store_id")
    @ApiModelProperty(name = "storeId", value = "企业id")
    private Long storeId;
    /**
     * 0签到/1下班
     */
    @Column(name = "type")
    @ApiModelProperty(name = "type", value = "0签到/1下班")
    private Integer type;

    /**
     * 员工编码
     */
    @Column(name = "staff_num")
    @ApiModelProperty(name = "staffNum", value = "员工编码")
    private String staffNum;

    /**
     * 部门编码
     */
    @Column(name = "dept_number")
    @ApiModelProperty(name = "deptNumber", value = "部门编码")
    private String deptNumber;

    /**
     * 部门名称
     */
    @Column(name = "dept_name")
    @ApiModelProperty(name = "deptName", value = "部门名称")
    private String deptName;

    /**
     * 设备编码
     */
    @Column(name = "equipment_num")
    @ApiModelProperty(name = "equipmentNum", value = "设备编码")
    private String equipmentNum;

    /**
     * 设备名称
     */
    @Column(name = "equipment_name")
    @ApiModelProperty(name = "equipmentName", value = "设备名称")
    private String equipmentName;

    /**
     * 验证方式
     */
    @Column(name = "verify")
    @ApiModelProperty(name = "verify", value = "验证方式")
    private String verify;

    /**
     * 外包服务商
     */
    @Column(name = "remark")
    @ApiModelProperty(name = "remark", value = "外包服务商")
    private String remark;

}
