扣费实体
parent
c679dd0e99
commit
7963ef2811
@ -0,0 +1,53 @@
|
||||
package com.baiye.model.entity;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import org.springframework.data.jpa.domain.support.AuditingEntityListener;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.EntityListeners;
|
||||
import javax.persistence.MappedSuperclass;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @author jt
|
||||
*/
|
||||
@Data
|
||||
@MappedSuperclass
|
||||
@EntityListeners(AuditingEntityListener.class)
|
||||
public class BaseCallDeduct implements Serializable {
|
||||
|
||||
@Column(name = "deduct_duration")
|
||||
@ApiModelProperty(value = "扣减时长")
|
||||
private Integer deductDuration;
|
||||
|
||||
@Column(name = "deduct_amount")
|
||||
@ApiModelProperty(value = "扣减金额")
|
||||
private Double deductAmount;
|
||||
|
||||
@Column(name = "clue_id")
|
||||
@ApiModelProperty(value = "线索id")
|
||||
private Long clueId;
|
||||
|
||||
@Column(name = "member_id")
|
||||
@ApiModelProperty(value = "人员id")
|
||||
private Long memberId;
|
||||
|
||||
@Column(name = "company_id")
|
||||
@ApiModelProperty(value = "所属公司")
|
||||
private Long companyId;
|
||||
|
||||
@Column(name = "status")
|
||||
@ApiModelProperty(value = "状态")
|
||||
private Boolean status;
|
||||
|
||||
@Column(name = "version")
|
||||
@ApiModelProperty(value = "扣减时的版本号")
|
||||
private Integer version;
|
||||
|
||||
@Column(name = "create_time")
|
||||
@ApiModelProperty(value = "创建时间")
|
||||
private Date createTime;
|
||||
|
||||
}
|
Loading…
Reference in New Issue