/**
 *@Generated by sagacity-quickvo 5.0
 */
package cn.pojo.atv;

import java.io.Serializable;
import cn.orm.sqltoy.config.annotation.Entity;
import cn.orm.sqltoy.config.annotation.Id;
import cn.orm.sqltoy.config.annotation.Column;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;
import java.time.LocalDateTime;

/**
 * @project sqltoy-quickstart
 * @author BJTU
 * @version 1.0.0 
 */
@Schema(name="AtvOutputAndInputStockItem")
@Data
@Accessors(chain = true)
@Entity(tableName="atv_output_and_input_stock_item",comment="",pk_constraint="PRIMARY")
public class AtvOutputAndInputStockItem implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1897526521689670531L;
/*---begin-auto-generate-don't-update-this-area--*/	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="id",description="",nullable=false)
	@Id(strategy="generator",generator="cn.orm.sqltoy.plugins.id.impl.NanoTimeIdGenerator")
	@Column(name="id",comment="",length=36L,type=java.sql.Types.VARCHAR,nullable=false)
	private String id;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="createBy",description="创建人",nullable=true)
	@Column(name="create_by",comment="创建人",length=50L,type=java.sql.Types.VARCHAR,nullable=true)
	private String createBy;
	
	/**
	 * jdbcType:DATETIME
	 */
	@Schema(name="createTime",description="创建日期",nullable=true)
	@Column(name="create_time",comment="创建日期",length=19L,type=java.sql.Types.DATE,nullable=true)
	private LocalDateTime createTime;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="updateBy",description="更新人",nullable=true)
	@Column(name="update_by",comment="更新人",length=50L,type=java.sql.Types.VARCHAR,nullable=true)
	private String updateBy;
	
	/**
	 * jdbcType:DATETIME
	 */
	@Schema(name="updateTime",description="更新日期",nullable=true)
	@Column(name="update_time",comment="更新日期",length=19L,type=java.sql.Types.DATE,nullable=true)
	private LocalDateTime updateTime;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="sysOrgCode",description="所属部门",nullable=true)
	@Column(name="sys_org_code",comment="所属部门",length=64L,type=java.sql.Types.VARCHAR,nullable=true)
	private String sysOrgCode;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="outputAndInputStockId",description="出入库单",nullable=true)
	@Column(name="output_and_input_stock_id",comment="出入库单",length=32L,type=java.sql.Types.VARCHAR,nullable=true)
	private String outputAndInputStockId;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="itemId",description="项目",nullable=true)
	@Column(name="item_id",comment="项目",length=32L,type=java.sql.Types.VARCHAR,nullable=true)
	private String itemId;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="itemSn",description="项目号",nullable=true)
	@Column(name="item_sn",comment="项目号",length=32L,type=java.sql.Types.VARCHAR,nullable=true)
	private String itemSn;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="userId",description="负责人",nullable=true)
	@Column(name="user_id",comment="负责人",length=32L,type=java.sql.Types.VARCHAR,nullable=true)
	private String userId;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="supplierId",description="供应商",nullable=true)
	@Column(name="supplier_id",comment="供应商",length=32L,type=java.sql.Types.VARCHAR,nullable=true)
	private String supplierId;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="productTypeId",description="品目类型",nullable=true)
	@Column(name="product_type_id",comment="品目类型",length=32L,type=java.sql.Types.VARCHAR,nullable=true)
	private String productTypeId;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="productId",description="品目/商品",nullable=true)
	@Column(name="product_id",comment="品目/商品",length=32L,type=java.sql.Types.VARCHAR,nullable=true)
	private String productId;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="productSn",description="品目编号",nullable=true)
	@Column(name="product_sn",comment="品目编号",length=32L,type=java.sql.Types.VARCHAR,nullable=true)
	private String productSn;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="warehouseId",description="仓库",nullable=true)
	@Column(name="warehouse_id",comment="仓库",length=32L,type=java.sql.Types.VARCHAR,nullable=true)
	private String warehouseId;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="specifications",description="规格/型号",nullable=true)
	@Column(name="specifications",comment="规格/型号",length=32L,type=java.sql.Types.VARCHAR,nullable=true)
	private String specifications;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="unit",description="单位",nullable=true)
	@Column(name="unit",comment="单位",length=32L,type=java.sql.Types.VARCHAR,nullable=true)
	private String unit;
	
	/**
	 * jdbcType:INT
	 */
	@Schema(name="quantity",description="数量",nullable=true)
	@Column(name="quantity",comment="数量",length=10L,type=java.sql.Types.INTEGER,nullable=true)
	private Integer quantity;
	
	/**
	 * jdbcType:INT
	 */
	@Schema(name="initialQuantity",description="期初数量",nullable=true)
	@Column(name="initial_quantity",comment="期初数量",length=10L,type=java.sql.Types.INTEGER,nullable=true)
	private Integer initialQuantity;
	
	/**
	 * jdbcType:INT
	 */
	@Schema(name="finishQuantity",description="结余数量",nullable=true)
	@Column(name="finish_quantity",comment="结余数量",length=10L,type=java.sql.Types.INTEGER,nullable=true)
	private Integer finishQuantity;
	
	/**
	 * jdbcType:INT
	 */
	@Schema(name="outIn",description="出/入库",nullable=true)
	@Column(name="out_in",comment="出/入库",length=10L,type=java.sql.Types.INTEGER,nullable=true)
	private Integer outIn;
	
	/**
	 * jdbcType:VARCHAR
	 */
	@Schema(name="remark",description="",nullable=true)
	@Column(name="remark",comment="",length=32L,type=java.sql.Types.VARCHAR,nullable=true)
	private String remark;
	
	/** default constructor */
	public AtvOutputAndInputStockItem() {
	}
	
	/** pk constructor */
	public AtvOutputAndInputStockItem(String id)
	{
		this.id=id;
	}
/*---end-auto-generate-don't-update-this-area--*/
}
