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

import lombok.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import java.math.BigDecimal;
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;

/**
 * @Author: jinyd
 * @CreateTime: 2025/3/13  14:21
 * @Description:
 * @Version: 4.0
 */

@Schema(description = "管理后台 - 物质设置分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class MaterialConfigPageReqVO extends PageParam{

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

    @Schema(description = "拼音码")
    private String pinyinCode;

    @Schema(description = "物品类型", example = "2")
    private String type;

    @Schema(description = "单位")
    private String unit;

    @Schema(description = "规格")
    private String specification;

    @Schema(description = "是否销售标识，1-是，2-否")
    private Integer saleFlag;

    @Schema(description = "费用金额")
    private BigDecimal itemAmount;

    @Schema(description = "安全库存量")
    private Integer safetyStock;

    @Schema(description = "物资描述", example = "你猜")
    private String description;

    @Schema(description = "状态，0-启动，1-禁用", example = "1")
    private Integer status;

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

    @Schema(description = "系统类型，1：机构 2：居家(社区) 3：旅居", example = "1")
    private Integer orgType;

}
