package cn.iocoder.yudao.module.system.controller.admin.saporg.vo;

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.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - SAP中的组织主数据(工厂 成本中心)分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class SapOrgPageReqVO extends PageParam {

    @Schema(description = "sap工厂编号")
    private String factoryCode;

    @Schema(description = "sap工厂名称", example = "王五")
    private String factoryName;

    @Schema(description = "SAP成本中心编码")
    private String costCenterCode;

    @Schema(description = "SAP成本中心名称", example = "张三")
    private String costCenterName;

    @Schema(description = "SAP库位编码")
    private String storageLocationCode;

    @Schema(description = "SAP库位名称", example = "张三")
    private String storageLocationName;

    @Schema(description = "类型(1工厂 2成本中心 3库位)", example = "1")
    private Integer type;

    @Schema(description = "责任人id(多个逗号分隔)")
    private String responsiblePerson;

    @Schema(description = "分类排序")
    private Integer sort;

    @Schema(description = "部门状态(0正常 1停用)", example = "1")
    private Integer status;

    @Schema(description = "备注", example = "你猜")
    private String remark;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}