package com.shkj.wms.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.shkj.common.annotation.Excel;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.util.Date;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 模具条码对象 base_mold_barcode
 *
 * @author lch
 * @date 2023-06-02
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("base_mold_barcode")
public class BaseMoldBarcode implements Serializable {

private static final long serialVersionUID=1L;


    /**
     * $column.columnComment
     */
    @TableId(value = "id", type = IdType.AUTO)
    @Excel(name = "${comment}", width = 15 )
    private Long id;


    /**
     * 模具条码
     */
    @Excel(name = "模具条码", width = 20)
    private String moldBarcode;


    /**
     * 磨具id
     */
    @Excel(name = "磨具id", width = 20)
    private Long moldId;


    /**
     * 磨具编码
     */
    @Excel(name = "磨具编码", width = 20)
    private String moldNo;


    /**
     * 启用 1 0禁用
     */
    @Excel(name = "启用 1 0禁用", width = 20)
    private String isActivity;


    /**
     * 仓ID
     */
    @Excel(name = "仓ID", width = 20)
    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)
    @Excel(name = "创建人", width = 20)
    private String createBy;


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


    /**
     * 修改人
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @Excel(name = "修改人", width = 20)
    private String updateBy;


}
