package com.pj.project.tb_business_item;

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

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.EqualsAndHashCode;

import lombok.Data;
import lombok.experimental.Accessors;

/**
 * Model: tb_business_item -- 业务作业项
 * @author qzy 
 */
@Data
@Accessors(chain = true)
@TableName(TbBusinessItem.TABLE_NAME)
@EqualsAndHashCode(callSuper = false)
public class TbBusinessItem extends Model<TbBusinessItem> implements Serializable {

	// ---------- 模块常量 ----------
	/**
	 * 序列化版本id 
	 */
	private static final long serialVersionUID = 1L;	
	/**
	 * 此模块对应的表名 
	 */
	public static final String TABLE_NAME = "tb_business_item";	
	/**
	 * 此模块对应的权限码 
	 */
	public static final String PERMISSION_CODE = "tb-business-item";	


	// ---------- 表中字段 ----------
	/**
	 * 主键 
	 */
	@TableId(type = IdType.AUTO)
	private Long id;

	/**
	 * 等级表id 
	 */
	private String businessId;

	/**
	 * 项目编号 
	 */
	private String itemCode;
	private String itemId;

	/**
	 * 项目金额(元) 
	 */
	private BigDecimal itemPrice;

	/**
	 * 项目名称 
	 */
	private String itemName;	

	/**
	 * 状态(1=未完成,2=已完成) 
	 */
	private int status;

	/**
	 * 操作时间 
	 */
	private Date operateTime;

	private String itemTypeId;

	private String itemTypeName;

	/**
	 * 操作人员 
	 */
	private String operaror;
	/**
	 * 数量
	 */
	private String num;
	private String unit;
	private BigDecimal total;
	private String ticket;

	private Integer payStatus;
	private Date payTime;
	private Date createTime;
	private Integer pick;
	private Date pickTime;
	private Integer confirm;
	private Date confirmTime;
	private String pickCustomerId;
	private String pickCustomerName;
	private String businessType;
	private String no;
	private String remark;

	/**
	 * 收费分类
	 */
	private Integer payType;
	private String payTypeName;
	/**
	 * 税率
	 */
	private Double taxRate;

	@TableField(exist = false)
	private String goodsName;
	@TableField(exist = false)
	private String cardNo;
	@TableField(exist = false)
	private String chinaCarNo;





	


}
