xyz.erupt.jpa.model.MetaModelCreateVo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of erupt-jpa Show documentation
Show all versions of erupt-jpa Show documentation
EruptProcess database impl
The newest version!
package xyz.erupt.jpa.model;
import lombok.Getter;
import lombok.Setter;
import xyz.erupt.annotation.EruptField;
import xyz.erupt.annotation.EruptI18n;
import xyz.erupt.annotation.config.EruptSmartSkipSerialize;
import xyz.erupt.annotation.sub_field.Edit;
import xyz.erupt.annotation.sub_field.Readonly;
import xyz.erupt.annotation.sub_field.View;
import xyz.erupt.annotation.sub_field.sub_edit.DateType;
import javax.persistence.MappedSuperclass;
import java.time.LocalDateTime;
/**
* @author YuePeng
* date 2021/7/2 10:23
*/
@Getter
@Setter
@MappedSuperclass
@EruptI18n
public class MetaModelCreateVo extends MetaModel {
@EruptField(
views = @View(title = "创建人", width = "100px"),
edit = @Edit(title = "创建人", readonly = @Readonly)
)
@EruptSmartSkipSerialize
private String createBy;
@EruptField(
views = @View(title = "创建时间", sortable = true),
edit = @Edit(title = "创建时间", readonly = @Readonly, dateType = @DateType(type = DateType.Type.DATE_TIME))
)
@EruptSmartSkipSerialize
private LocalDateTime createTime;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy