package com.zt.plat.module.erp.controller.admin.erp.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.zt.plat.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static com.zt.plat.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - ERP客商主数据分页 Request VO")
@Data
public class ErpCustomerPageReqVO extends PageParam {

    @Schema(description = "编码")
    private String number;

    @Schema(description = "名称", example = "芋艿")
    private String name;

    @Schema(description = "账户组")
    private String accountGroup;

    @Schema(description = "简称")
    private String description;

    @Schema(description = "中铝编号")
    private String centerNumber;

    @Schema(description = "创建日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createDate;

    @Schema(description = "修改日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] repairDate;

    @Schema(description = "归档标识")
    private String isGiveback;

    @Schema(description = "冻结标识")
    private String isProvisional;

    @Schema(description = "税号/社会信用代码")
    private String taxNumber;

}