package com.shkj.wms.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.shkj.common.annotation.Excel;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;
import java.util.Date;

/**
 * 任务物料替换明细对象 busin_task_gooks
 *
 * @author zjx
 * @date 2023-04-07
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("busin_data_task_goods")
public class BusinDataTaskGoods implements Serializable {
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 任务编号 */
    @Excel(name = "任务编号")
    private Long taskCode;

    /** 产品信息 */
    @Excel(name = "产品信息")
    private String goodsNo;

    /** 条码信息 */
    @Excel(name = "条码信息")
    private String qrCode;

    /** 是否冲孔 */
    @Excel(name = "是否冲孔")
    private String isPunching;

    /** 是否维修 */
    @Excel(name = "是否维修")
    private String isRepair;

    private Long branchId;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+7")
    private Date createTime;

    /**
     * 修改时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+7")
    private Date updateTime;
}
