package com.nantian.cloud.dbcapp.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 io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@TableName("enterprise_state")
@NoArgsConstructor
public class EnterpriseState {
    //id
    @TableId(value = "id", type = IdType.AUTO)
    private  Integer id;

    @TableField("epc")
    private String epc;

    @TableField("type")
    private String type;

    @TableField("startTime")
    private String startTime;

    @TableField("endTime")
    private String endTime;
    @TableField("userid")
    private Integer userid;
    @TableField("updateTime")
    private Date updateTime;
}
