package org.jeecg.modules.system.app.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

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

/**
 * @Description: 店铺资金总数
 * @Author: jeecg-boot
 * @Date:   2025-08-18
 * @Version: V1.0
 */
@Data
@TableName("nm_shop_money")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@Schema(description="店铺资金总数")
public class ShopMoney implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @Schema(description = "id")
    private String id;
	/**部门编码*/
	@Excel(name = "部门编码", width = 15)
    @Schema(description = "部门编码")
    private String orgCode;
	/**部门id*/
	@Excel(name = "部门id", width = 15)
    @Schema(description = "部门id")
    private String deptId;
	/**待结算金额*/
	@Excel(name = "待结算金额", width = 15)
    @Schema(description = "待结算金额")
    private BigDecimal pendSettlementMoney;
	/**可用余额*/
	@Excel(name = "可用余额", width = 15)
    @Schema(description = "可用余额")
    private BigDecimal canBalance;
	/**已到账金额*/
	@Excel(name = "已到账金额", width = 15)
    @Schema(description = "已到账金额")
    private BigDecimal receivedAmount;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "创建时间")
    private Date createTime;
	/**修改时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "修改时间")
    private Date updateTime;

    @Excel(name = "明细id", width = 15)
    @Schema(description = "明细id")
    private String  receipPaymentDetailsId;


    @Excel(name = "店铺资金状态", width = 15)
    @Schema(description = "店铺资金状态  0-启用 1-停用")
    @TableField(exist = false)
    private Integer  accountStatus;

    @Excel(name = "店铺名称", width = 15)
    @Schema(description = "店铺名称  0-启用 1-停用")
    @TableField(exist = false)
    private String  siteName;

    @Excel(name = "图片", width = 15)
    @Schema(description = "图片")
    @TableField(exist = false)
    private String  siteCover;
}
