/* * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * Neither the name of the dreamlu.net developer nor the names of its * contributors may be used to endorse or promote products derived from * this software without specific prior written permission. * Author: Chill 庄骞 (smallchill@163.com) */ package org.springblade.modules.train.entity; import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.IdType; import java.time.LocalDateTime; import com.baomidou.mybatisplus.annotation.TableId; import java.io.Serializable; import lombok.Data; import lombok.EqualsAndHashCode; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** * 实体类 * * @author BladeX * @since 2021-07-08 */ @Data @TableName("sys_train") @ApiModel(value = "Train对象", description = "Train对象") public class Train implements Serializable { private static final long serialVersionUID = 1L; /** * 姓名 */ @ApiModelProperty(value = "姓名") private String rname; /** * 年龄 */ @ApiModelProperty(value = "年龄") private Integer age; /** * 性别 */ @ApiModelProperty(value = "性别") private String sex; /** * 民族 */ @ApiModelProperty(value = "民族") private String nation; /** * 政治面貌 */ @ApiModelProperty(value = "政治面貌") private String countenance; /** * 学历 */ @ApiModelProperty(value = "学历") private String education; /** * 身份证 */ @ApiModelProperty(value = "身份证") private String cardid; /** * 培训机构 */ @ApiModelProperty(value = "培训机构") private String train; /** * 培训时间 */ @ApiModelProperty(value = "培训时间") private LocalDateTime traintime; /** * 培训地点 */ @ApiModelProperty(value = "培训地点") private String trainaddrss; /** * 培训内容 */ @ApiModelProperty(value = "培训内容") private String traincontent; @TableId(value = "id", type = IdType.AUTO) private Integer id; }