|  | @ -2,7 +2,12 @@ package com.yihu.jw.healthyhouse.model.dict;
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | import com.fasterxml.jackson.annotation.JsonFormat;
 | 
	
		
			
				|  |  | import com.yihu.jw.entity.UuidIdentityEntityWithOperator;
 | 
	
		
			
				|  |  | import com.yihu.jw.healthyhouse.util.PinyinUtil;
 | 
	
		
			
				|  |  | import org.springframework.data.annotation.CreatedBy;
 | 
	
		
			
				|  |  | import org.springframework.data.annotation.CreatedDate;
 | 
	
		
			
				|  |  | import org.springframework.data.annotation.LastModifiedBy;
 | 
	
		
			
				|  |  | import org.springframework.data.annotation.LastModifiedDate;
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | import javax.persistence.*;
 | 
	
		
			
				|  |  | import java.io.Serializable;
 | 
	
	
		
			
				|  | @ -20,9 +25,8 @@ import java.util.Date;
 | 
	
		
			
				|  |  | @Access(value = AccessType.PROPERTY)
 | 
	
		
			
				|  |  | @Embeddable
 | 
	
		
			
				|  |  | @IdClass(DictEntryKey.class)
 | 
	
		
			
				|  |  | public class SystemDictEntry  implements Serializable {
 | 
	
		
			
				|  |  | public class SystemDictEntry implements Serializable {
 | 
	
		
			
				|  |  |     private static final long serialVersionUID = 1L;
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     String dictId;
 | 
	
		
			
				|  |  |     String code;
 | 
	
		
			
				|  |  |     String value;
 | 
	
	
		
			
				|  | @ -30,14 +34,18 @@ public class SystemDictEntry  implements Serializable {
 | 
	
		
			
				|  |  |     String phoneticCode;
 | 
	
		
			
				|  |  |     String catalog;
 | 
	
		
			
				|  |  |     String pcode;//上级id
 | 
	
		
			
				|  |  |     /** 创建日期 */
 | 
	
		
			
				|  |  |     private Date createDate;
 | 
	
		
			
				|  |  |     /** 创建者 */
 | 
	
		
			
				|  |  |     private String creator;
 | 
	
		
			
				|  |  |     /** 修改日期 */
 | 
	
		
			
				|  |  |     private Date modifyDate;
 | 
	
		
			
				|  |  |     /** 修改者 */
 | 
	
		
			
				|  |  |     private String modifier;
 | 
	
		
			
				|  |  |     //创建时间
 | 
	
		
			
				|  |  |     protected Date createTime;
 | 
	
		
			
				|  |  |     //创建者
 | 
	
		
			
				|  |  |     protected String createUser;
 | 
	
		
			
				|  |  |     //创建者
 | 
	
		
			
				|  |  |     protected String createUserName;
 | 
	
		
			
				|  |  |     //更新时间
 | 
	
		
			
				|  |  |     protected Date updateTime;
 | 
	
		
			
				|  |  |     //更新者
 | 
	
		
			
				|  |  |     protected String updateUser;
 | 
	
		
			
				|  |  |     //更新者
 | 
	
		
			
				|  |  |     protected String updateUserName;
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     public SystemDictEntry(){
 | 
	
		
			
				|  |  |     }
 | 
	
	
		
			
				|  | @ -94,50 +102,74 @@ public class SystemDictEntry  implements Serializable {
 | 
	
		
			
				|  |  |         this.catalog = catalog;
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
 | 
	
		
			
				|  |  |     @Column(name = "create_date", nullable = false, updatable = false)
 | 
	
		
			
				|  |  |     public Date getCreateDate() {
 | 
	
		
			
				|  |  |         return createDate;
 | 
	
		
			
				|  |  |     @Column(name = "pcode")
 | 
	
		
			
				|  |  |     public String getPcode() {
 | 
	
		
			
				|  |  |         return pcode;
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     public void setCreateDate(Date createDate) {
 | 
	
		
			
				|  |  |         this.createDate = createDate;
 | 
	
		
			
				|  |  |     public void setPcode(String pcode) {
 | 
	
		
			
				|  |  |         this.pcode = pcode;
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     @Column(name = "creator")
 | 
	
		
			
				|  |  |     public String getCreator() {
 | 
	
		
			
				|  |  |         return creator;
 | 
	
		
			
				|  |  |     @CreatedDate
 | 
	
		
			
				|  |  |     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
 | 
	
		
			
				|  |  |     @Column(name = "create_time", nullable = false, length = 0,updatable = false)
 | 
	
		
			
				|  |  |     public Date getCreateTime() {
 | 
	
		
			
				|  |  |         return createTime;
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     public void setCreator(String creator) {
 | 
	
		
			
				|  |  |         this.creator = creator;
 | 
	
		
			
				|  |  |     public void setCreateTime(Date createTime) {
 | 
	
		
			
				|  |  |         this.createTime = createTime;
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
 | 
	
		
			
				|  |  |     @Column(name = "modify_date", nullable = false)
 | 
	
		
			
				|  |  |     public Date getModifyDate() {
 | 
	
		
			
				|  |  |         return modifyDate;
 | 
	
		
			
				|  |  |     @CreatedBy
 | 
	
		
			
				|  |  |     @Column(name = "create_user",updatable = false)
 | 
	
		
			
				|  |  |     public String getCreateUser() {
 | 
	
		
			
				|  |  |         return createUser;
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     public void setModifyDate(Date modifyDate) {
 | 
	
		
			
				|  |  |         this.modifyDate = modifyDate;
 | 
	
		
			
				|  |  |     public void setCreateUser(String createUser) {
 | 
	
		
			
				|  |  |         this.createUser = createUser;
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     @Column(name = "modifier")
 | 
	
		
			
				|  |  |     public String getModifier() {
 | 
	
		
			
				|  |  |         return modifier;
 | 
	
		
			
				|  |  |     @CreatedBy
 | 
	
		
			
				|  |  |     @Column(name = "create_user_name",updatable = false)
 | 
	
		
			
				|  |  |     public String getCreateUserName() {
 | 
	
		
			
				|  |  |         return createUserName;
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     public void setModifier(String modifier) {
 | 
	
		
			
				|  |  |         this.modifier = modifier;
 | 
	
		
			
				|  |  |     public void setCreateUserName(String createUserName) {
 | 
	
		
			
				|  |  |         this.createUserName = createUserName;
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     @Column(name = "pcode")
 | 
	
		
			
				|  |  |     public String getPcode() {
 | 
	
		
			
				|  |  |         return pcode;
 | 
	
		
			
				|  |  |     @LastModifiedDate
 | 
	
		
			
				|  |  |     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
 | 
	
		
			
				|  |  |     @Column(name = "update_time", nullable = false, length = 0)
 | 
	
		
			
				|  |  |     public Date getUpdateTime() {
 | 
	
		
			
				|  |  |         return updateTime;
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     public void setPcode(String pcode) {
 | 
	
		
			
				|  |  |         this.pcode = pcode;
 | 
	
		
			
				|  |  |     public void setUpdateTime(Date updateTime) {
 | 
	
		
			
				|  |  |         this.updateTime = updateTime;
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     @LastModifiedBy
 | 
	
		
			
				|  |  |     @Column(name = "update_user")
 | 
	
		
			
				|  |  |     public String getUpdateUser() {
 | 
	
		
			
				|  |  |         return updateUser;
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     public void setUpdateUser(String updateUser) {
 | 
	
		
			
				|  |  |         this.updateUser = updateUser;
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     @LastModifiedBy
 | 
	
		
			
				|  |  |     @Column(name = "update_user_name")
 | 
	
		
			
				|  |  |     public String getUpdateUserName() {
 | 
	
		
			
				|  |  |         return updateUserName;
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     public void setUpdateUserName(String updateUserName) {
 | 
	
		
			
				|  |  |         this.updateUserName = updateUserName;
 | 
	
		
			
				|  |  |     }
 | 
	
		
			
				|  |  | }
 |