package com.goldenwater.slgc.domain;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import com.goldenwater.slgc.domain.key.RelPustAdKey;

import java.util.Date;

@Schema(description = "水闸行政信息关联实体")
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class RelPustAd extends RelPustAdKey {
    private static final long serialVersionUID = 1L;

    @Schema(description = "起始日期")
    private Date fromDate;
    @Schema(description = "截止日期")
    private Date toDate;
    @Schema(description = "数据来源")
    private String source;
    @Schema(description = "原编码")
    private String oldCode;
}
