package com.shkj.wcs.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 java.io.Serializable;
import java.util.Date;

/**
 * 设备对象 base_punch
 *
 * @author zjx
 * @date 2023-05-12
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("base_punch")
public class BasePunch implements Serializable
{
    private static final long serialVersionUID = 1L;

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

    /** 冲孔机编号 */
    @Excel(name = "冲孔机编号")
    private String punchNo;

    /** 冲孔机名称 */
    @Excel(name = "冲孔机名称")
    private String punchName;

    /** 冲孔模式 */
    @Excel(name = "冲孔模式")
    private String isState;

    /** 是否启用 */
    @Excel(name = "是否启用")
    private String isActive;

    /** 最大任务量 */
    @Excel(name = "最大任务量")
    private String maxTask;

    /** 单次冲孔数量 */
    @Excel(name = "单次冲孔数量")
    private String punchQty;

    /** 备注*/
    @Excel(name = "备注")
    private String remaks;

    /** 是否删除*/
    @Excel(name = "是否删除")
    private String isDel;


    /** 仓库ID*/
    @Excel(name = "仓库ID")
    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;
}
