package com.iwunu.nbiot.lock.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="iot_dictionaries")
public class IotDictionaries implements Serializable {
	private static final long serialVersionUID = 1L;
	private Long id ;
    private String type ;
    private String name ;
    private String value ;
    private String remark ;
    private String createTime ;

    @Id
    @Column(name = "id",columnDefinition="bigint(18) COMMENT '主键，自动生成'")
    @GeneratedValue(strategy= GenerationType.IDENTITY)
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    @Column(name = "type",columnDefinition="varchar(50) COMMENT '类型'")
    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Column(name = "name",columnDefinition="varchar(50) COMMENT ''")
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Column(name = "value",columnDefinition="varchar(50) COMMENT ''")
    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    @Column(name = "create_time",columnDefinition="datetime COMMENT '创建时间'")
    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    @Column(name = "remark",columnDefinition="varchar(50) COMMENT '描述'")
    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
