liwen
10 months ago
8 changed files with 151 additions and 82 deletions
@ -0,0 +1,31 @@
|
||||
package com.hnac.hzims.safeproduct.enums; |
||||
|
||||
/** |
||||
* 培训方式枚举类 |
||||
* |
||||
* @author liwen |
||||
* @date 2024-01-15 |
||||
*/ |
||||
public enum TrainMethodEnum { |
||||
|
||||
ONLINE("ONLINE", "线上"), |
||||
OFFLINE("OFFLINE", "线下"), |
||||
MIXED("MIXED", "线上+线下"); |
||||
|
||||
private final String value; |
||||
|
||||
private final String desc; |
||||
|
||||
TrainMethodEnum(String value, String desc) { |
||||
this.value = value; |
||||
this.desc = desc; |
||||
} |
||||
|
||||
public String getValue() { |
||||
return value; |
||||
} |
||||
|
||||
public String getDesc() { |
||||
return desc; |
||||
} |
||||
} |
@ -0,0 +1,55 @@
|
||||
package com.hnac.hzims.safeproduct.vo; |
||||
|
||||
import io.swagger.annotations.ApiModel; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
|
||||
import java.util.Date; |
||||
|
||||
/** |
||||
* @author liwen |
||||
* @date 2024-01-15 |
||||
*/ |
||||
@Data |
||||
@ApiModel(value = "培训记录表VO类") |
||||
public class TrainRecordDetailVO { |
||||
|
||||
@ApiModelProperty("编码") |
||||
private String code; |
||||
|
||||
@ApiModelProperty("实际培训开始时间") |
||||
private Date actualStartTime; |
||||
|
||||
@ApiModelProperty("实际培训结束时间") |
||||
private Date actualEndTime; |
||||
|
||||
@ApiModelProperty("单位") |
||||
private String unit; |
||||
|
||||
@ApiModelProperty("培训地点") |
||||
private String location; |
||||
|
||||
@ApiModelProperty("培训方式") |
||||
private String trainMethod; |
||||
|
||||
@ApiModelProperty("培训讲师") |
||||
private String teacher; |
||||
|
||||
@ApiModelProperty("培训课程") |
||||
private String lesson; |
||||
|
||||
@ApiModelProperty("培训学员") |
||||
private String peopleName; |
||||
|
||||
@ApiModelProperty("培训内容") |
||||
private String content; |
||||
|
||||
@ApiModelProperty("培训评价") |
||||
private String command; |
||||
|
||||
@ApiModelProperty("培训图片") |
||||
private String imgPath; |
||||
|
||||
@ApiModelProperty("培训附件") |
||||
private String filePath; |
||||
} |
Loading…
Reference in new issue