package cn.iocoder.yudao.module.erp.controller.admin.purchase.vo.contract;
|
|
import cn.iocoder.yudao.framework.common.pojo.PageParam;
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import lombok.Data;
|
import lombok.EqualsAndHashCode;
|
import lombok.ToString;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import java.time.LocalDate;
|
|
import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY;
|
|
@Schema(description = "管理后台 - ERP 供应商合同分页 Request VO")
|
@Data
|
@EqualsAndHashCode(callSuper = true)
|
@ToString(callSuper = true)
|
public class ErpSupplierContractPageReqVO extends PageParam {
|
|
@Schema(description = "合同编码", example = "HT2026")
|
private String code;
|
|
@Schema(description = "合同名称", example = "钢材采购")
|
private String name;
|
|
@Schema(description = "供应商编号", example = "1")
|
private Long supplierId;
|
|
@Schema(description = "合同类型(1 采购合同 2 合同模板)", example = "1")
|
private Integer type;
|
|
@Schema(description = "合同状态(1 履行中 2 已完成 3 已终止)", example = "1")
|
private Integer status;
|
|
@Schema(description = "签订日期")
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY)
|
private LocalDate[] signDate;
|
|
}
|