package com.zt.plat.module.erp.controller.admin.erp.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 = "管理后台 - ERP成本中心 Response VO")
@Data
@ExcelIgnoreUnannotated
public class ErpCostcenterRespVO {

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

    @Schema(description = "成本中心编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("成本中心编码")
    private String number;

    @Schema(description = "成本中心描述", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    @ExcelProperty("成本中心描述")
    private String name;

    @Schema(description = "工区必填;使用这个基础数据是，如果为X时必须和工区使用", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("工区必填;使用这个基础数据是，如果为X时必须和工区使用")
    private String isUse;

    @Schema(description = "功能范围", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("功能范围")
    private String scopeNumber;

    @Schema(description = "功能范围描述", example = "赵六")
    @ExcelProperty("功能范围描述")
    private String scopeName;

    @Schema(description = "起始日期", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("起始日期")
    private LocalDateTime startDate;

    @Schema(description = "截止日期", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("截止日期")
    private LocalDateTime endDate;

}