/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.finance.entity;

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

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 内部结算-结算明细表实体类
 *
 * @author zbc
 * @since 2022-07-20
 */
@Data
@TableName("INNER_DEAL_DETAIL")
public class InnerDealDetail implements Serializable {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "结算单序号")
	@JsonSerialize(using= ToStringSerializer.class)
	private Long sid;

	@ApiModelProperty(value = "月份")
	private Long themonth;

	@ApiModelProperty(value = "结算单类型")
	private String dealType;

	@ApiModelProperty(value = "结算方名称")
	private String company;

	@ApiModelProperty(value = "产品ID")
	private String spid;

	@ApiModelProperty(value = "产品名称")
	private String spname;

	@ApiModelProperty(value = "PRM业务名称")
	private String spnamePrm;

	@ApiModelProperty(value = "产品价格")
	private BigDecimal price;

	@ApiModelProperty(value = "结算单价")
	private BigDecimal dealPrice;

	@ApiModelProperty(value = "结算用户数")
	private Long usernum;

	@ApiModelProperty(value = "结算金额")
	private BigDecimal money;


}
