package com.ltgk.catches.domain.dto;

import com.ltgk.common.validation.groups.Update;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiParam;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

/**
 * 渔获上岸明细记录 数据传输对象
 *
 * @author Qi ChengBin
 * @date 2025-01-07
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "渔获上岸明细记录数据传输对象", description = "渔获上岸明细记录数据传输对象")
public class TpFishCatchRecordReq {

    @ApiModelProperty(value = "渔获上岸明细记录主键")
    @NotNull(message = "渔获上岸明细记录主键不能为空！", groups = Update.class)
    private String id;

    @ApiParam(value = "开始时间 yyyy-MM-dd HH:mm:ss")
    private String beginTime;

    @ApiParam(value = "结束时间 yyyy-MM-dd HH:mm:ss")
    private String endTime;

    @ApiParam(value = "渔港id")
    private String portId;

    // 上岸设备 - 采用电子秤编号
    @ApiParam(value = "上岸设备 - 采用电子秤编号【主键】")
    private String scaleNo;
}
