package com.yh.saas.plugin.news.command;

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

import com.yh.saas.plugin.news.entity.CircularManagementReceive;
import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.yh.saas.common.support.entity.BaseModel;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 通知通函接收查询入参
 * </p>
 *
 * @author wxg
 * @since 2019-10-15
 */
@Data
public class CircularManagementReceiveSearchCommand extends BaseModel<CircularManagementReceive> {
	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "公司ID", name = "compId")
	private String compId;

	@ApiModelProperty(value = "发布部门ID", name = "deptId")
	private String deptId;
	
	@ApiModelProperty(value = "接收船舶部门ID", name = "deptId")
	private String vesselDeptId;

	@ApiModelProperty(value = "通函类别ID", name = "typeId")
	private String typeId;

	@ApiModelProperty(value = "状态ID", name = "statusId")
	private String statusId;

	@ApiModelProperty(value = "开始日期", name = "startDate")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
	private Date startDate;

	@ApiModelProperty(value = "结束日期", name = "endDate")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
	private Date endDate;

	private String id;

	@Override
	protected Serializable pkVal() {
		return null;
	}

}
