package com.ruoyi.web.v2.v1.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

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

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2025-08-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("prot_sj")

public class ProtSj implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String cod;

    private String ph;

    /**
     * 流量
     */
    private String ll;

    /**
     * 氨氮
     */
    private String ad;

    /**
     * 总磷
     */
    private String zl;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    public ProtSj() {
    }

    public ProtSj(String cod, String ph, String ll, String ad, String zl, Date createTime) {
        this.cod = cod;
        this.ph = ph;
        this.ll = ll;
        this.ad = ad;
        this.zl = zl;
        this.createTime = createTime;
    }
}
