k.e.book.ddh.entity.CcGiveAddDTO Maven / Gradle / Ivy
package k.e.book.ddh.entity;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;
/**
* @author kk
* @date 2023-05-21 14:25
*/
@Data
@ApiModel(value="CcGiveAddDTO", description="CcGive")
public class CcGiveAddDTO implements Serializable{
@ApiModelProperty(value = "ID")
private Integer id;
@ApiModelProperty(value = "发送人")
private Integer userId;
@ApiModelProperty(value = "接收人")
private Long receiveUid;
@ApiModelProperty(value = "产品ID")
private Integer productId;
@ApiModelProperty(value = "项目ID")
private Integer itemId;
@ApiModelProperty(value = "持仓ID")
private String collectId;
@ApiModelProperty(value = "创建时间")
private Integer createtime;
@ApiModelProperty(value = "更新时间")
private Integer updatetime;
@ApiModelProperty(value = "删除时间")
private Integer deletetime;
@ApiModelProperty(value = "状态:0=已取消,1=进行中,2=已转赠")
private Integer status;
@ApiModelProperty(value = "createdAt")
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date createdAt;
@ApiModelProperty(value = "updatedAt")
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date updatedAt;
@ApiModelProperty(value = "deletedAt")
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date deletedAt;
}