private Long copyResourceId;
private Long personId;
private Long profileId;
- private Date date;
+ private Date createdAt;
public Long getId() {
return id;
return this;
}
- public Date getDate() {
- return date;// NOSONAR May expose internal representation by returning reference to mutable object
+ public Date getCreatedAt() {
+ return createdAt;// NOSONAR May expose internal representation by returning reference to mutable object
}
- public ResourceDto setDate(Date date) {
- this.date = date;// NOSONAR May expose internal representation by incorporating reference to mutable object
+ public ResourceDto setCreatedAt(Date date) {
+ this.createdAt = date;// NOSONAR May expose internal representation by incorporating reference to mutable object
return this;
}
}
<result property="copyResourceId" column="copy_resource_id"/>
<result property="personId" column="person_id"/>
<result property="profileId" column="profile_id"/>
- <result property="date" column="created_at"/>
+ <result property="createdAt" column="created_at"/>
</resultMap>
<select id="selectResources" parameterType="map" resultMap="resourceResultMap">
values (
#{name}, #{longName}, #{description}, #{scope}, #{qualifier},
#{key}, #{language}, #{rootId}, #{copyResourceId},
- #{personId}, #{profileId}, #{enabled}, #{date}
+ #{personId}, #{profileId}, #{enabled}, #{createdAt}
)
</insert>
values (
#{id}, #{name}, #{longName}, #{description}, #{scope}, #{qualifier},
#{key}, #{language}, #{rootId}, #{copyResourceId},
- #{personId}, #{profileId}, #{enabled}, #{date}
+ #{personId}, #{profileId}, #{enabled}, #{createdAt}
)
</insert>