/*
 *      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.community.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.mp.base.BaseEntity;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * 园区平台账单实体类
 *
 * @author BladeX
 * @since 2021-09-14
 */
@Data
@TableName("community_platform_bills")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "PlatformBills对象", description = "园区平台账单")
public class PlatformBills extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 联系人名称
	 */
	@ApiModelProperty(value = "联系人名称")
	@NotBlank
	private String name;
	/**
	 * 联系方式
	 */
	@ApiModelProperty(value = "联系方式")
	@NotBlank
	private String phone;
	/**
	 * 企业名称
	 */
	@ApiModelProperty(value = "企业名称")
	@NotBlank
	private String enterprise;
	/**
	 * 备注
	 */
	@ApiModelProperty(value = "备注")
	private String remarks;
	/**
	 * 清单
	 */
	@ApiModelProperty(value = "清单")
	@NotBlank
	private String detailedList;
	/**
	 * 交易金额
	 */
	@ApiModelProperty(value = "交易金额")
	@NotNull
	private BigDecimal price;
	/**
	 * 状态(1 待支付 2 支付完成)
	 */
	@ApiModelProperty(value = "状态(1 待支付 2 支付完成)")
	private Integer payStatus;


}
