package jnpf.model.cultivate.vo.teaching;

import com.fasterxml.jackson.annotation.JsonFormat;
import jnpf.entity.cultivate.TeachingSkill;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class TeachingSkillVo {
    /**
     * 数据id
     */
    private String id;

    /**
     * 技能点名称
     */
    private String name;

    /** 分类id */
    private String categoryId;

    /** 分类名称 */
    private String categoryName;

    /**
     * 技能点描述
     */
    private String desc;
    /**
     * 排序
     */
    private Integer sort;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date creatorTime;
}