mirror of https://github.com/alibaba/easyexcel
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
59 lines
1.0 KiB
59 lines
1.0 KiB
package com.alibaba.atasuper.api.demo.param; |
|
|
|
import java.util.Date; |
|
|
|
import javax.validation.constraints.NotNull; |
|
|
|
import com.alibaba.atasuper.api.demo.enums.DemoStatusEnum; |
|
|
|
import lombok.AllArgsConstructor; |
|
import lombok.Builder; |
|
import lombok.Data; |
|
import lombok.NoArgsConstructor; |
|
|
|
/** |
|
* 创建对象 |
|
* |
|
* @author 是仪 |
|
*/ |
|
@Data |
|
@Builder |
|
@NoArgsConstructor |
|
@AllArgsConstructor |
|
public class DemoUpdateParam { |
|
|
|
/** |
|
* 主键 |
|
*/ |
|
@NotNull |
|
private Long id; |
|
|
|
/** |
|
* 用户id |
|
*/ |
|
private Long userId; |
|
|
|
/** |
|
* 状态,一般非空,还要有默认值 |
|
* |
|
* @see DemoStatusEnum |
|
*/ |
|
private String status; |
|
|
|
/** |
|
* 图片的key, 图片存储一般存储key,别存储连接。 |
|
*/ |
|
private String imageKey; |
|
|
|
/** |
|
* 加入时间,必须gmt开头,日期字段没办法默认值,直接默认空 |
|
*/ |
|
private Date gmtJoin; |
|
|
|
/** |
|
* 当加入时间为空时删除加入时间 |
|
* 默认为空false |
|
*/ |
|
private Boolean deleteGmtJoinWhenNull; |
|
|
|
}
|
|
|