@NotNull | @NotNull | ||||
@Column(name = "UPDATE_TIME") | @Column(name = "UPDATE_TIME") | ||||
private LocalDateTime updateTime = LocalDateTime.now();//更改时间 | private LocalDateTime updateTime = LocalDateTime.now();//更改时间 | ||||
@Size(max = 32) | |||||
@Column(name = "CREATE_OPEN_ID") | |||||
private String createOpenId;//添加人 | |||||
@Size(max = 32) | |||||
@Column(name = "UPDATE_OPEN_ID") | |||||
private String updateOpenId;//修改人 | |||||
} | } |
package cn.com.taiji.core.entity.basic; | package cn.com.taiji.core.entity.basic; | ||||
import javax.persistence.*; | import javax.persistence.*; | ||||
import javax.validation.constraints.NotNull; | |||||
import javax.validation.constraints.Size; | import javax.validation.constraints.Size; | ||||
import cn.com.taiji.common.entity.StringPropertyUUIDEntity; | import cn.com.taiji.common.entity.StringPropertyUUIDEntity; | ||||
import lombok.Getter; | import lombok.Getter; | ||||
import lombok.Setter; | import lombok.Setter; | ||||
import java.time.LocalDateTime; | |||||
/** | /** | ||||
* 渠道映射表,如6个渠道可能映射成一个了,因为老系统没产品,一个产品多个渠道。 | * 渠道映射表,如6个渠道可能映射成一个了,因为老系统没产品,一个产品多个渠道。 | ||||
@Size(max = 64) | @Size(max = 64) | ||||
@Column(name = "CENTER_AGENCY_NAME") | @Column(name = "CENTER_AGENCY_NAME") | ||||
private String centerAgencyName; | private String centerAgencyName; | ||||
@Column(name = "INSERT_TIME") | |||||
private LocalDateTime insertTime = LocalDateTime.now();//录入时间 | |||||
@Column(name = "UPDATE_TIME") | |||||
private LocalDateTime updateTime = LocalDateTime.now();//更改时间 | |||||
@Size(max = 32) | |||||
@Column(name = "CREATE_OPEN_ID") | |||||
private String createOpenId;//添加人 | |||||
@Size(max = 32) | |||||
@Column(name = "UPDATE_OPEN_ID") | |||||
private String updateOpenId;//修改人 | |||||
import cn.com.taiji.common.entity.StringPropertyUUIDEntity; | import cn.com.taiji.common.entity.StringPropertyUUIDEntity; | ||||
import cn.com.taiji.core.entity.dict.EnableStatus; | import cn.com.taiji.core.entity.dict.EnableStatus; | ||||
import cn.com.taiji.core.model.comm.protocol.constraint.EnumString; | |||||
import lombok.Getter; | import lombok.Getter; | ||||
import lombok.Setter; | import lombok.Setter; | ||||
@Size(max = 100) | @Size(max = 100) | ||||
@Column(name = "TEL") | @Column(name = "TEL") | ||||
private String tel;//联系电话 | private String tel;//联系电话 | ||||
@Size(max = 256) | |||||
@Column(name = "SERVICE_ITEMS") | |||||
private String serviceItems;//服务项目 | |||||
@Size(max = 100) | |||||
@Column(name = "BUSINESS_HOURS") | |||||
private String businessHours;//上班时间段 | |||||
// @Size(max = 256) | |||||
// @Column(name = "SERVICE_ITEMS") | |||||
// private String serviceItems;//服务项目 | |||||
// @Size(max = 100) | |||||
// @Column(name = "BUSINESS_HOURS") | |||||
// private String businessHours;//上班时间段 | |||||
@Size(max = 300) | @Size(max = 300) | ||||
@Column(name = "ADDRESS") | @Column(name = "ADDRESS") | ||||
private String address;//地址 | private String address;//地址 | ||||
@Size(max = 10) | |||||
@Column(name = "START_TIME") | |||||
private String startTime;//合作开始时间 | |||||
@Size(max = 10) | |||||
@Column(name = "END_TIME") | |||||
private String endTime;//合作到期时间 | |||||
@Size(max = 300) | |||||
@Column(name = "BANK") | |||||
private String bank;//银行 | |||||
@Size(max = 300) | |||||
@Column(name = "BANK_ADDR") | |||||
private String bankAddr;//银行地址 | |||||
@Size(max = 20) | |||||
@Column(name = "BANK_ACCOUNT") | |||||
private String bankAccount;//银行账号 | |||||
// @Size(max = 10) | |||||
// @Column(name = "START_TIME") | |||||
// private String startTime;//合作开始时间 | |||||
// @Size(max = 10) | |||||
// @Column(name = "END_TIME") | |||||
// private String endTime;//合作到期时间 | |||||
// @Size(max = 300) | |||||
// @Column(name = "BANK") | |||||
// private String bank;//银行 | |||||
// @Size(max = 300) | |||||
// @Column(name = "BANK_ADDR") | |||||
// private String bankAddr;//银行地址 | |||||
// @Size(max = 20) | |||||
// @Column(name = "BANK_ACCOUNT") | |||||
// private String bankAccount;//银行账号 | |||||
//===============================用不上============================== | //===============================用不上============================== | ||||
// @Size(max = 60) | // @Size(max = 60) | ||||
// @Column(name = "AGENCY_NAME") | // @Column(name = "AGENCY_NAME") | ||||
// @Column(name = "DEVICE_CONFIG_FK") | // @Column(name = "DEVICE_CONFIG_FK") | ||||
// private String deviceConfigFk; | // private String deviceConfigFk; | ||||
//==================================================================== | //==================================================================== | ||||
@Size(max = 100) | |||||
@Column(name = "REGION") | |||||
private String region;//地区 | |||||
// @Size(max = 100) | |||||
// @Column(name = "REGION") | |||||
// private String region;//地区 | |||||
@NotBlank | @NotBlank | ||||
@Size(max = 19) | @Size(max = 19) | ||||
@Column(name = "MAP_CHANNEL_ID") | @Column(name = "MAP_CHANNEL_ID") | ||||
private String mapChannelId;//上传映射网点 | private String mapChannelId;//上传映射网点 | ||||
@Size(max = 20) | |||||
@Column(name = "PROVINCE") | |||||
private String province;//省份 | |||||
@Size(max = 128) | |||||
@Column(name = "AREA") | |||||
private String area;//地区 | |||||
// @Size(max = 20) | |||||
// @Column(name = "PROVINCE") | |||||
// private String province;//省份 | |||||
// @Size(max = 128) | |||||
// @Column(name = "AREA") | |||||
// private String area;//地区 | |||||
@Column(name = "LONGITUDE") | @Column(name = "LONGITUDE") | ||||
private Double longitude;//经度 | private Double longitude;//经度 | ||||
@Column(name = "LATITUDE") | @Column(name = "LATITUDE") | ||||
private LocalDateTime insertTime = LocalDateTime.now();//创建时间 | private LocalDateTime insertTime = LocalDateTime.now();//创建时间 | ||||
@Column(name = "UPDATE_TIME") | @Column(name = "UPDATE_TIME") | ||||
private LocalDateTime updateTime = LocalDateTime.now();//更改时间 | private LocalDateTime updateTime = LocalDateTime.now();//更改时间 | ||||
@Size(max = 32) | |||||
@Column(name = "CREATE_OPEN_ID") | |||||
private String createOpenId;//添加人 | |||||
@Size(max = 32) | |||||
@Column(name = "UPDATE_OPEN_ID") | |||||
private String updateOpenId;//修改人 | |||||
} | } |
@NotNull | @NotNull | ||||
@Column(name = "INSERT_TIME") | @Column(name = "INSERT_TIME") | ||||
private LocalDateTime insertTime = LocalDateTime.now();//入库时间 | private LocalDateTime insertTime = LocalDateTime.now();//入库时间 | ||||
@Size(max = 32) | |||||
@Column(name = "CREATE_OPEN_ID") | |||||
private String createOpenId;//添加人 | |||||
} | } |
package cn.com.taiji.core.entity.basic; | package cn.com.taiji.core.entity.basic; | ||||
import java.time.LocalDateTime; | |||||
import javax.persistence.*; | |||||
import javax.validation.constraints.Size; | |||||
import cn.com.taiji.common.entity.StringPropertyUUIDEntity; | import cn.com.taiji.common.entity.StringPropertyUUIDEntity; | ||||
import lombok.Getter; | import lombok.Getter; | ||||
import lombok.Setter; | import lombok.Setter; | ||||
import javax.persistence.Column; | |||||
import javax.persistence.Entity; | |||||
import javax.persistence.Table; | |||||
import javax.validation.constraints.Size; | |||||
import java.time.LocalDateTime; | |||||
/** | /** | ||||
* 网点映射表 | * 网点映射表 | ||||
@Column(name = "CENTER_SERVICEHALL_NAME") | @Column(name = "CENTER_SERVICEHALL_NAME") | ||||
private String centerServicehallName; | private String centerServicehallName; | ||||
@Column(name = "INSERT_TIME") | @Column(name = "INSERT_TIME") | ||||
private LocalDateTime insertTime = LocalDateTime.now(); | |||||
private LocalDateTime insertTime = LocalDateTime.now();//录入时间 | |||||
@Column(name = "UPDATE_TIME") | |||||
private LocalDateTime updateTime = LocalDateTime.now();//更改时间 | |||||
@Size(max = 32) | |||||
@Column(name = "CREATE_OPEN_ID") | |||||
private String createOpenId;//添加人 | |||||
@Size(max = 32) | |||||
@Column(name = "UPDATE_OPEN_ID") | |||||
private String updateOpenId;//修改人 | |||||
@Size(max = 255) | @Size(max = 255) | ||||
@Column(name = "INFO") | @Column(name = "INFO") | ||||
private String info;//描述 | private String info;//描述 | ||||
@NotBlank | @NotBlank | ||||
@Size(max = 30) | @Size(max = 30) | ||||
@Column(name = "MCH_ID") | @Column(name = "MCH_ID") | ||||
private String mchId;//商户号 V2,V3 | private String mchId;//商户号 V2,V3 | ||||
@Enumerated(EnumType.STRING) | @Enumerated(EnumType.STRING) | ||||
@Column(name = "PAY_CHANNEL_TYPE") | @Column(name = "PAY_CHANNEL_TYPE") | ||||
private PayChannelType payChannelType;//支付渠道:如微信,支付宝 | private PayChannelType payChannelType;//支付渠道:如微信,支付宝 | ||||
@Column(name = "INSERT_TIME") | @Column(name = "INSERT_TIME") | ||||
private LocalDateTime insertTime = LocalDateTime.now(); | private LocalDateTime insertTime = LocalDateTime.now(); | ||||
@Column(name = "UPDATE_TIME") | @Column(name = "UPDATE_TIME") | ||||
private LocalDateTime updateTime = LocalDateTime.now();//更新时间 | private LocalDateTime updateTime = LocalDateTime.now();//更新时间 | ||||
@Size(max = 32) | |||||
@Column(name = "CREATE_OPEN_ID") | |||||
private String createOpenId;//添加人 | |||||
@Size(max = 32) | |||||
@Column(name = "UPDATE_OPEN_ID") | |||||
private String updateOpenId;//修改人 | |||||
} | } |
import java.time.LocalDateTime; | import java.time.LocalDateTime; | ||||
import javax.persistence.*; | import javax.persistence.*; | ||||
import javax.validation.constraints.NotNull; | |||||
import javax.validation.constraints.Size; | import javax.validation.constraints.Size; | ||||
import cn.com.taiji.common.entity.StringPropertyUUIDEntity; | import cn.com.taiji.common.entity.StringPropertyUUIDEntity; | ||||
import cn.com.taiji.core.entity.dict.pay.PayChannelType; | import cn.com.taiji.core.entity.dict.pay.PayChannelType; | ||||
private LocalDateTime insertTime = LocalDateTime.now();//创建时间 | private LocalDateTime insertTime = LocalDateTime.now();//创建时间 | ||||
@Column(name = "UPDATE_TIME") | @Column(name = "UPDATE_TIME") | ||||
private LocalDateTime updateTime = LocalDateTime.now();//更新时间 | private LocalDateTime updateTime = LocalDateTime.now();//更新时间 | ||||
@Size(max = 32) | |||||
@Column(name = "CREATE_OPEN_ID") | |||||
private String createOpenId;//添加人 | |||||
@Size(max = 32) | |||||
@Column(name = "UPDATE_OPEN_ID") | |||||
private String updateOpenId;//修改人 | |||||
@Column(name = "WX_SERVICE_TYPE") | @Column(name = "WX_SERVICE_TYPE") | ||||
private Integer wxServiceType;//微信商户下单类型,1普通商户,2服务商 | private Integer wxServiceType;//微信商户下单类型,1普通商户,2服务商 | ||||
package cn.com.taiji.core.entity.comm; | package cn.com.taiji.core.entity.comm; | ||||
import javax.persistence.*; | |||||
import javax.validation.constraints.NotBlank; | |||||
import javax.validation.constraints.NotNull; | |||||
import javax.validation.constraints.Size; | |||||
import cn.com.taiji.common.entity.StringPropertyUUIDEntity; | import cn.com.taiji.common.entity.StringPropertyUUIDEntity; | ||||
import cn.com.taiji.core.entity.dict.pay.PayChannelType; | import cn.com.taiji.core.entity.dict.pay.PayChannelType; | ||||
import lombok.Getter; | import lombok.Getter; | ||||
import lombok.Setter; | import lombok.Setter; | ||||
import javax.persistence.*; | |||||
import javax.validation.constraints.NotBlank; | |||||
import javax.validation.constraints.NotNull; | |||||
import javax.validation.constraints.Size; | |||||
import java.time.LocalDateTime; | import java.time.LocalDateTime; | ||||
@Size(max = 255) | @Size(max = 255) | ||||
@Column(name = "INFO") | @Column(name = "INFO") | ||||
private String info;//描述 | private String info;//描述 | ||||
@Column(name = "INSERT_TIME") | @Column(name = "INSERT_TIME") | ||||
private LocalDateTime insertTime = LocalDateTime.now(); | private LocalDateTime insertTime = LocalDateTime.now(); | ||||
@Column(name = "UPDATE_TIME") | @Column(name = "UPDATE_TIME") | ||||
private LocalDateTime updateTime = LocalDateTime.now(); | private LocalDateTime updateTime = LocalDateTime.now(); | ||||
@Size(max = 32) | |||||
@Column(name = "CREATE_OPEN_ID") | |||||
private String createOpenId;//添加人 | |||||
@Size(max = 32) | |||||
@Column(name = "UPDATE_OPEN_ID") | |||||
private String updateOpenId;//修改人 | |||||
import javax.persistence.Column; | import javax.persistence.Column; | ||||
import javax.persistence.Entity; | import javax.persistence.Entity; | ||||
import javax.persistence.Table; | import javax.persistence.Table; | ||||
import javax.validation.constraints.Size; | |||||
import java.time.LocalDateTime; | import java.time.LocalDateTime; | ||||
@Getter | @Getter | ||||
@Column(name = "OPEN_ID") | @Column(name = "OPEN_ID") | ||||
private String openId; | private String openId; | ||||
@Column(name = "UPDATE_TIME") | |||||
private LocalDateTime updateTime = LocalDateTime.now(); | |||||
@Size(max = 32) | |||||
@Column(name = "CREATE_OPEN_ID") | |||||
private String createOpenId;//添加人 | |||||
@Size(max = 32) | |||||
@Column(name = "UPDATE_OPEN_ID") | |||||
private String updateOpenId;//修改人 | |||||
// @ManyToOne | // @ManyToOne | ||||
// @JoinColumn(name = "HALL_ID") | // @JoinColumn(name = "HALL_ID") |