package com.zg.project.wisdom.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zg.framework.aspectj.lang.annotation.Excel;
import com.zg.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 入库单据主表对象 rk_bill
 * 
 * @author zg
 * @date 2025-06-06
 */
public class RkBill extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 入库类型 */
//    @Excel(name = "入库类型")
    private String rkType;

    /** 物资类型 */
//    @Excel(name = "物资类型")
    private String wlType;

    /** 所属仓库 */
//    @Excel(name = "所属仓库")
    private String cangku;

    /** 入库类型名称 */
    @Excel(name = "入库类型名称")
    private String rkTypeName;

    /** 物资类型名称 */
    @Excel(name = "物资类型名称")
    private String wlTypeName;

    /** 所属仓库名称 */
    @Excel(name = "所属仓库名称")
    private String cangkuName;

    /** 理货员名称 */
    @Excel(name = "理货员名称")
    private String lihuoYName;

    /** 入库时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "入库时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date rkTime;

    /** 理货员 */
//    @Excel(name = "理货员")
    private String lihuoY;


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

    /** 出库类型名称（展示用） */
    @Excel(name = "出库类型名称")
    private String ckTypeName;

    /** 出库时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "出库时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date ckTime;

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

    /** 出库理货员名称（展示用） */
    @Excel(name = "出库理货员名称")
    private String ckLihuoYName;

    /** 出库备注 */
    @Excel(name = "出库备注")
    private String ckRemark;

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

    /** 施工队名称（展示用） */
    @Excel(name = "施工队名称")
    private String teamName;

    /** 单据号 */
    @Excel(name = "单据号")
    private String billNo;

    /** 是否已出库（0未出库，1已出库） */
    @Excel(name = "是否出库", readConverterExp = "0=未出库,1=已出库")
    private String isChuku;

    /** 是否删除（0正常，1删除） */
    private String isDelete;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getRkType() {
        return rkType;
    }

    public void setRkType(String rkType) {
        this.rkType = rkType;
    }

    public String getWlType() {
        return wlType;
    }

    public void setWlType(String wlType) {
        this.wlType = wlType;
    }

    public String getCangku() {
        return cangku;
    }

    public void setCangku(String cangku) {
        this.cangku = cangku;
    }

    public String getRkTypeName() { return rkTypeName; }
    public void setRkTypeName(String rkTypeName) { this.rkTypeName = rkTypeName; }

    public String getWlTypeName() { return wlTypeName; }
    public void setWlTypeName(String wlTypeName) { this.wlTypeName = wlTypeName; }

    public String getCangkuName() { return cangkuName; }
    public void setCangkuName(String cangkuName) { this.cangkuName = cangkuName; }

    public Date getRkTime() {
        return rkTime;
    }

    public void setRkTime(Date rkTime) {
        this.rkTime = rkTime;
    }

    public String getLihuoY() {
        return lihuoY;
    }

    public void setLihuoY(String lihuoY) {
        this.lihuoY = lihuoY;
    }


    public String getCkType() {
        return ckType;
    }

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

    public String getCkTypeName() {
        return ckTypeName;
    }

    public void setCkTypeName(String ckTypeName) {
        this.ckTypeName = ckTypeName;
    }

    public Date getCkTime() {
        return ckTime;
    }

    public void setCkTime(Date ckTime) {
        this.ckTime = ckTime;
    }

    public String getCkLihuoY() {
        return ckLihuoY;
    }

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

    public String getCkLihuoYName() {
        return ckLihuoYName;
    }

    public void setCkLihuoYName(String ckLihuoYName) {
        this.ckLihuoYName = ckLihuoYName;
    }

    public String getCkRemark() {
        return ckRemark;
    }

    public void setCkRemark(String ckRemark) {
        this.ckRemark = ckRemark;
    }

    public String getTeamCode() {
        return teamCode;
    }

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

    public String getTeamName() {
        return teamName;
    }

    public void setTeamName(String teamName) {
        this.teamName = teamName;
    }

    public String getBillNo() {
        return billNo;
    }

    public void setBillNo(String billNo) {
        this.billNo = billNo;
    }

    public String getIsChuku() {
        return isChuku;
    }

    public void setIsChuku(String isChuku) {
        this.isChuku = isChuku;
    }

    public String getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(String isDelete) {
        this.isDelete = isDelete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("rkType", getRkType())
            .append("wlType", getWlType())
            .append("cangku", getCangku())
            .append("rkTime", getRkTime())
            .append("lihuoY", getLihuoY())
            .append("ckType", getCkType())
            .append("ckTypeName", getCkTypeName())
            .append("ckTime", getCkTime())
            .append("ckLihuoY", getCkLihuoY())
            .append("ckLihuoYName", getCkLihuoYName())
            .append("ckRemark", getCkRemark())
            .append("teamCode", getTeamCode())
            .append("teamName", getTeamName())
            .append("billNo", getBillNo())
            .append("isChuku", getIsChuku())
            .append("isDelete", getIsDelete())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
