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 ObjDike extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @Schema(description = "堤防编码")
    private String dikeCode;
    @Schema(description = "堤防名称")
    private String dikeName;
    @Schema(description = "起始日期")
    private Date fromDate;
    @Schema(description = "截止日期")
    private Date toDate;
}
