package com.huimv.env.dao.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

@Entity
@Table(name = "xt_hk_qtsb_info")
@Data
public class XtHkQtsbInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id", nullable = false)
    private Integer id;

    @Column(name = "ZSMC")
    private String ZSMC;

    @Column(name = "XGSJ", nullable = false)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date XGSJ;

    @Column(name = "ZMCS")
    private String ZMCS;


    @Column(name = "begin_time")
    private String beginTime;

    @Column(name = "durations")
    private Long durations;

}
