package com.pj.tb_order_people_confirm;

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

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

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

/**
 * Model: tb_order_people_confirm -- 边民确认订单监听表
 * @author yzs
 */
@Data
@Accessors(chain = true)
@TableName(TbOrderPeopleConfirm.TABLE_NAME)
@EqualsAndHashCode(callSuper = false)
public class TbOrderPeopleConfirm extends Model<TbOrderPeopleConfirm> implements Serializable {

	// ---------- 模块常量 ----------
	/**
	 * 序列化版本id
	 */
	private static final long serialVersionUID = 1L;
	/**
	 * 此模块对应的表名
	 */
	public static final String TABLE_NAME = "tb_order_people_confirm";
	/**
	 * 此模块对应的权限码
	 */
	public static final String PERMISSION_CODE = "tb-order-people-confirm";
	public static final String PERMISSION_CODE_ADD = "tb-order-people-confirm-add";
	public static final String PERMISSION_CODE_EDIT = "tb-order-people-confirm-edit";
	public static final String PERMISSION_CODE_DEL = "tb-order-people-confirm-del";




	// ---------- 表中字段 ----------
	/**
	 * 便民确认监听表主键ID
	 */
	@TableId(type = IdType.AUTO)
	private Integer id;

	/**
	 * 一级订单表主键ID
	 */
	private Long orderId;

	/**
	 * 边民名称
	 */
	private String peopleName;

	/**
	 * 一级市场边民ID
	 */
	private Long peopleId;

	/**
	 * 组ID
	 */
	private Long groupId;

	/**
	 * 边民确认时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date createTime;

	/**
	 * 进口申报
	 */
	private Integer importApply;

	/**
	 * 进境申报
	 */
	private Integer progressApply;








}
