package com.huimv.env.dao.entity;

import lombok.Data;

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

/**
 * 灯光定时控制
 */
@Entity
@Data
@Table(name = "xt_dgdskz")
public class XtDgdskz implements Serializable {

    private static final long serialVersionUID = 1L;

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

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

    /**
     * 开启时间,持续时间(分)
     */
    @Column(name = "PZNR")
    private String PZNR;

    @Column(name = "XGSJ")
    private Date XGSJ;

    /**
     * 1-设备上传 2-平台保存
     */
    @Column(name = "BZ")
    private String BZ;

    /**
     * 结束时间
     */
    @Column(name = "JSSJ")
    private String JSSJ;

}
