package com.zg.project.wisdom.domain.dto;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 出库请求 DTO：用于批量出库操作
 * 对应操作 rk_info 表中多个记录出库
 */
public class StockOutDTO {

    /** 出库的 rk_info 主键 ID 集合 */
    private List<Long> ids;

    /** 领用时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lyTime;

    /** 出库类型编码 */
    private String ckType;

    /** 施工队编码 */
    private String teamCode;

    /** 出库理货员姓名 */
    private String ckLihuoY;

    // ==== Getter & Setter ====

    public List<Long> getIds() {
        return ids;
    }

    public void setIds(List<Long> ids) {
        this.ids = ids;
    }

    public Date getLyTime() {
        return lyTime;
    }

    public void setLyTime(Date lyTime) {
        this.lyTime = lyTime;
    }

    public String getCkType() {
        return ckType;
    }

    public void setCkType(String ckType) {
        this.ckType = ckType;
    }

    public String getTeamCode() {
        return teamCode;
    }

    public void setTeamCode(String teamCode) {
        this.teamCode = teamCode;
    }

    public String getCkLihuoY() {
        return ckLihuoY;
    }

    public void setCkLihuoY(String ckLihuoY) {
        this.ckLihuoY = ckLihuoY;
    }

    @Override
    public String toString() {
        return "StockOutDTO{" +
                "ids=" + ids +
                ", lyTime=" + lyTime +
                ", ckType='" + ckType + '\'' +
                ", teamCode='" + teamCode + '\'' +
                ", ckLihuoY='" + ckLihuoY + '\'' +
                '}';
    }
}
