package com.pj.tb_people_profit_record;

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

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

/**
 * Model: tb_people_profit_record -- 边民收益记录
 * @author yzs 
 */
@Data
@Accessors(chain = true)
@TableName(TbPeopleProfitRecord.TABLE_NAME)
@EqualsAndHashCode(callSuper = false)
public class TbPeopleProfitRecord extends Model<TbPeopleProfitRecord> implements Serializable {

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




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

	/**
	 * 边民ID 
	 */
	private Long peopleId;	

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

	/**
	 * 二级市场订单ID 
	 */
	private Long levelTwoOrderId;	

	/**
	 * 二级市场订单号 
	 */
	private String levelTwoOrderNo;	

	/**
	 * 收益金额 
	 */
	private Double price;	

	/**
	 * 收益类型(0=均分,1=按笔数算,2=交易比例) 
	 */
	private String profitType;	

	/**
	 * 收益数值 
	 */
	private Double profitNum;	

	/**
	 * 创建时间 
	 */
	private String createTime;	

	/**
	 * 支付/划拨时间 
	 */
	private String payTime;	

	/**
	 * 支付/划拨状态(0=未划拨,1=划拨成功,2=划拨失败) 
	 */
	private String payStatus;	

	/**
	 * 支付备注 
	 */
	private String payRemark;	





	


}
