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

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - SAP中的组织主数据(工厂 成本中心) Response VO")
@Data
@ExcelIgnoreUnannotated
public class SapOrgRespVO {

    @Schema(description = "主键id", requiredMode = Schema.RequiredMode.REQUIRED, example = "3907")
    @ExcelProperty("主键id")
    private Long id;

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

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

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

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

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

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

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

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

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

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

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

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}