// Path: src/test/java/converter/Student2DateConverter.java
// public class Student2DateConverter implements WriteConvertible {
// 
// 
//     @Override
//     public Object execWrite(Object object) {
// 
//         Date date = (Date) object;
//         return DateUtils.date2Str(date, DateUtils.DATE_FORMAT_MSEC_T_Z);
//     }
// }
// 
// Path: src/test/java/converter/Student2ExpelConverter.java
// public class Student2ExpelConverter implements ReadConvertible{
// 
//     @Override
//     public Object execRead(String object) {
// 
//         return object.equals("是");
//     }
// }


import com.github.crab2died.annotation.ExcelField;
import converter.Student2DateConverter;
import converter.Student2ExpelConverter;
import java.util.Date;
package modules;




public class Student2 {

    @ExcelField(title = "学号", order = 1)
    private Long id;

    @ExcelField(title = "姓名", order = 2)
    private String name;

    // 写入数据转换器 Student2DateConverter
// Path: src/test/java/converter/Student2DateConverter.java
// public class Student2DateConverter implements WriteConvertible {
// 
// 
//     @Override
//     public Object execWrite(Object object) {
// 
//         Date date = (Date) object;
//         return DateUtils.date2Str(date, DateUtils.DATE_FORMAT_MSEC_T_Z);
//     }
// }
// 
// Path: src/test/java/converter/Student2ExpelConverter.java
// public class Student2ExpelConverter implements ReadConvertible{
// 
//     @Override
//     public Object execRead(String object) {
// 
//         return object.equals("是");
//     }
// }


// Path: src/test/java/modules/Student2.java
import com.github.crab2died.annotation.ExcelField;
import converter.Student2DateConverter;
import converter.Student2ExpelConverter;
import java.util.Date;

package modules;




public class Student2 {

    @ExcelField(title = "学号", order = 1)
    private Long id;

    @ExcelField(title = "姓名", order = 2)
    private String name;

    // 写入数据转换器 Student2DateConverter
    @ExcelField(title = "入学日期", order = 3, writeConverter = Student2DateConverter.class)