Newer
Older
huludao / src / main / java / com / newfiber / api / pc / model / zhz / PumpOperationLog.java
package com.newfiber.api.pc.model.zhz;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @description: 泵机操作日志实体类
 * @author: 张鸿志
 * @date: 2020/12/17 15:39
 * @version: v1.0
 */
@Data
@TableName("pump_operation_log")
public class PumpOperationLog implements Serializable {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    @TableField("pump_site_no")
    private String pumpSiteNo;
    @TableField("pump_site_name")
    private String pumpSiteName;
    @TableField("control_user_no")
    private String controlUserNo;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField("control_time")
    private Date  controlTime;
    @TableField("operation_state")
    private Integer operationState;
    @TableField("pump_no")
    private String pumpNo;
    @TableField("pump_name")
    private String pumpName;
}