50 lines
1.4 KiB
Java
50 lines
1.4 KiB
Java
|
|
package io.as.modules.daycard.entity;
|
||
|
|
|
||
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||
|
|
import lombok.Data;
|
||
|
|
|
||
|
|
import java.io.Serializable;
|
||
|
|
import java.util.Date;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 分账明细
|
||
|
|
*/
|
||
|
|
@Data
|
||
|
|
@TableName("profit_sharing_detail")
|
||
|
|
public class ProfitSharingDetailEntity implements Serializable {
|
||
|
|
private static final long serialVersionUID = 1L;
|
||
|
|
|
||
|
|
@TableId(type = IdType.AUTO)
|
||
|
|
private Long id;
|
||
|
|
/** 关联分账单 */
|
||
|
|
private Long sharingOrderId;
|
||
|
|
/** 接收方组织ID */
|
||
|
|
private Long orgId;
|
||
|
|
/** 组织角色 PLATFORM/CHANNEL/AGENT/STORE */
|
||
|
|
private String orgRole;
|
||
|
|
/** 接收方账号 */
|
||
|
|
private String receiverAccount;
|
||
|
|
/** 接收方类型 */
|
||
|
|
private String receiverType;
|
||
|
|
/** 分账金额(分) */
|
||
|
|
private Integer amount;
|
||
|
|
/** 分账描述 */
|
||
|
|
private String description;
|
||
|
|
/** 状态 PENDING/SUCCESS/FAILED */
|
||
|
|
private String status;
|
||
|
|
/** 微信侧分账单号 */
|
||
|
|
private String externalOrderId;
|
||
|
|
/** 成功时间 */
|
||
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||
|
|
private Date successTime;
|
||
|
|
/** 失败原因 */
|
||
|
|
private String failReason;
|
||
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||
|
|
private Date createdAt;
|
||
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||
|
|
private Date updatedAt;
|
||
|
|
}
|