package com.goldenwater.slgc.domain;

import com.goldenwater.common.core.domain.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.Date;

@Schema(description = "水闸对象实体")
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class ObjPust extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @Schema(description = "水闸编码")
    private String pustCode;
    @Schema(description = "水闸名称")
    private String pustName;
    @Schema(description = "起始日期")
    private Date fromDate;
    @Schema(description = "截止日期")
    private Date toDate;
}
