package com.xhpc.charging.station.pojo;

import javax.persistence.*;
import java.time.Instant;

@Entity
@Table(name = "xhpc_img")
public class XhpcImg {

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

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

    @Column(name = "status")
    private Integer status;

    @Column(name = "del_flag")
    private Integer delFlag;

    @Column(name = "create_time")
    private Instant createTime;

    @Column(name = "create_by", length = 30)
    private String createBy;

    @Column(name = "update_time")
    private Instant updateTime;

    @Column(name = "update_by", length = 30)
    private String updateBy;

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

    @Column(name = "terminal_id")
    private Long terminalId;

    @Column(name = "tenant_id", length = 12)
    private String tenantId;

    public String getTenantId() {

        return tenantId;
    }

    public void setTenantId(String tenantId) {

        this.tenantId = tenantId;
    }

    public Long getTerminalId() {

        return terminalId;
    }

    public void setTerminalId(Long terminalId) {

        this.terminalId = terminalId;
    }

    public String getRemark() {

        return remark;
    }

    public void setRemark(String remark) {

        this.remark = remark;
    }

    public String getUpdateBy() {

        return updateBy;
    }

    public void setUpdateBy(String updateBy) {

        this.updateBy = updateBy;
    }

    public Instant getUpdateTime() {

        return updateTime;
    }

    public void setUpdateTime(Instant updateTime) {

        this.updateTime = updateTime;
    }

    public String getCreateBy() {

        return createBy;
    }

    public void setCreateBy(String createBy) {

        this.createBy = createBy;
    }

    public Instant getCreateTime() {

        return createTime;
    }

    public void setCreateTime(Instant createTime) {

        this.createTime = createTime;
    }

    public Integer getDelFlag() {

        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {

        this.delFlag = delFlag;
    }

    public Integer getStatus() {

        return status;
    }

    public void setStatus(Integer status) {

        this.status = status;
    }

    public String getUrl() {

        return url;
    }

    public void setUrl(String url) {

        this.url = url;
    }

    public Long getId() {

        return id;
    }

    public void setId(Long id) {

        this.id = id;
    }

}