/*
|
* Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
|
*
|
* Redistribution and use in source and binary forms, with or without
|
* modification, are permitted provided that the following conditions are met:
|
*
|
* Redistributions of source code must retain the above copyright notice,
|
* this list of conditions and the following disclaimer.
|
* Redistributions in binary form must reproduce the above copyright
|
* notice, this list of conditions and the following disclaimer in the
|
* documentation and/or other materials provided with the distribution.
|
* Neither the name of the dreamlu.net developer nor the names of its
|
* contributors may be used to endorse or promote products derived from
|
* this software without specific prior written permission.
|
* Author: Chill 庄骞 (smallchill@163.com)
|
*/
|
package org.springblade.modules.apply.entity;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import lombok.Data;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* 考试缴费实体类
|
*
|
* @author zhongrj
|
* @since 2021-07-22
|
*/
|
@Data
|
@TableName("sys_exam_payment")
|
public class ExamPayment implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
@TableId(value = "id",type = IdType.AUTO)
|
private Long id;
|
|
/**
|
* 缴费类型 1:公司缴费 2:个人缴费
|
*/
|
private Integer type;
|
|
|
/**
|
* 缴费时间
|
*/
|
@TableField("payment_time")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private Date paymentTime;
|
|
/**
|
* 缴费人/公司deptId
|
*/
|
@TableField("worker_id")
|
private String workerId;
|
|
/**
|
* 缴费状态 1:已缴费 2:未缴费 3:部分缴费
|
*/
|
@TableField("payment_status")
|
private Integer paymentStatus;
|
|
|
/**
|
* 考试id
|
*/
|
@TableField("exam_id")
|
private Long examId;
|
|
|
/**
|
* 报名编号
|
*/
|
@TableField("apply_code")
|
private String applyCode;
|
|
|
|
/**
|
* 缴费凭证 url
|
*/
|
@TableField("certificate_url")
|
private String certificateUrl;
|
}
|