@@ -1,13 +1,14 @@ | |||
package cn.com.taiji.core.entity.basic; | |||
import javax.persistence.*; | |||
import javax.validation.constraints.NotNull; | |||
import javax.validation.constraints.Size; | |||
import cn.com.taiji.common.entity.StringPropertyUUIDEntity; | |||
import lombok.Getter; | |||
import lombok.Setter; | |||
import javax.persistence.Column; | |||
import javax.persistence.Entity; | |||
import javax.persistence.Table; | |||
import javax.validation.constraints.NotNull; | |||
import javax.validation.constraints.Size; | |||
import java.time.LocalDateTime; | |||
@@ -34,5 +35,11 @@ public class QtkAgencyMap extends StringPropertyUUIDEntity { | |||
@NotNull | |||
@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;//修改人 | |||
} |
@@ -1,15 +1,16 @@ | |||
package cn.com.taiji.core.entity.basic; | |||
import java.time.LocalDateTime; | |||
import javax.persistence.*; | |||
import javax.validation.constraints.NotNull; | |||
import javax.validation.constraints.Size; | |||
import cn.com.taiji.common.entity.StringPropertyUUIDEntity; | |||
import lombok.Getter; | |||
import lombok.Setter; | |||
import javax.persistence.Column; | |||
import javax.persistence.Entity; | |||
import javax.persistence.Table; | |||
import javax.validation.constraints.NotNull; | |||
import javax.validation.constraints.Size; | |||
import java.time.LocalDateTime; | |||
/** | |||
* 网点映射表 | |||
@@ -33,6 +34,12 @@ public class QtkServicehallMap extends StringPropertyUUIDEntity { | |||
@NotNull | |||
@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;//修改人 | |||