package org.springblade.common.constant;

/**
 * Created By lidexi in 2021/3/11
 **/
public interface Constants {


	/**
	 * 园区访客下发到设备时用户的id前缀
	 */
	public final static String GUEST_PRE = "999";


	/**
	 * 园区访客信息在亲邻设备中有效时间在redis缓存中的key前缀，后面加上用户手机号码
	 */
	public final static String REDIS_GUEST_EFFECTIVE_TIME_QINLIN = "ycwg:facedevice:effectivetime:qinlin:";

	/**
	 * 园区访客信息在亲邻设备中有效时间在redis缓存中的key前缀，后面加上用户手机号码
	 */
	public final static String REDIS_GUEST_EFFECTIVE_TIME_JVT = "ycwg:facedevice:effectivetime:jvt:";

	/**
	 * 党支部关联资源类型：园区
	 */

	public final static int BRANCH_RELATE_AGENCY = 1;

	/**
	 * 党支部关联资源类型：小区
	 */

	public final static int BRANCH_RELATE_RESIDENTIAL = 2;

	/**
	 * 党支部关联资源类型：园区
	 */

	public final static int BRANCH_RELATE_PARK = 3;

	/**
	 * 党支部关联资源类型：企业
	 */

	public final static int BRANCH_RELATE_ENTERPRISE = 4;

	public final static int PARTY_MEMBER_TYPE_HOUSEUSER = 1;

	public final static int PARTY_MEMBER_TYPE_ENTERPRISESTAFF = 2;


	public enum CommentType{
		PARTYNEWS,PARTYMEETING
	}

}
