2025-08-27 15:56:44 +08:00
|
|
|
package com.gunshi.project.hsz.model;
|
|
|
|
|
|
|
|
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
|
|
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
|
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
|
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
|
|
|
|
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
|
|
|
|
import com.gunshi.project.hsz.validate.markers.Insert;
|
|
|
|
|
import com.gunshi.project.hsz.validate.markers.Update;
|
|
|
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
|
|
|
import jakarta.validation.constraints.NotNull;
|
|
|
|
|
import lombok.Data;
|
|
|
|
|
|
|
|
|
|
@Schema(description="白蚁-日志记录细节")
|
|
|
|
|
@Data
|
|
|
|
|
@TableName("by_log_detail")
|
|
|
|
|
public class ByLogDetail {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 主键
|
|
|
|
|
*/
|
|
|
|
|
@TableId(value = "id")
|
|
|
|
|
@NotNull(message = "id不能为空",groups = Update.class)
|
|
|
|
|
@JsonSerialize(using = ToStringSerializer.class)
|
|
|
|
|
private Long id;
|
|
|
|
|
|
|
|
|
|
@TableField(value = "by_log_id")
|
|
|
|
|
@NotNull(message = "日志id不能为空",groups = {Update.class})
|
|
|
|
|
@JsonSerialize(using = ToStringSerializer.class)
|
|
|
|
|
@Schema(description = "日志id")
|
|
|
|
|
private Long byLogId;
|
|
|
|
|
|
|
|
|
|
@TableField(value = "pre_place_detail_id")
|
|
|
|
|
@NotNull(message = "防治部位id不能为空",groups = {Insert.class, Update.class})
|
|
|
|
|
@JsonSerialize(using = ToStringSerializer.class)
|
|
|
|
|
@Schema(description = "防治部位id")
|
|
|
|
|
private Long ppdi;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@TableField(exist = false)
|
|
|
|
|
@Schema(description = "防治部位名称")
|
|
|
|
|
private String ppdn;
|
|
|
|
|
|
|
|
|
|
@TableField(exist = false)
|
|
|
|
|
@Schema(description = "防治点id")
|
|
|
|
|
@JsonSerialize(using = ToStringSerializer.class)
|
|
|
|
|
private Long ppi;
|
|
|
|
|
|
|
|
|
|
@TableField(exist = false)
|
|
|
|
|
@Schema(description = "防治点名称")
|
|
|
|
|
private String ppn;
|
|
|
|
|
|
|
|
|
|
@TableField(value = "pre_person")
|
|
|
|
|
@Schema(description = "防治人员id")
|
|
|
|
|
private String prePerson;
|
|
|
|
|
|
2025-09-08 14:21:48 +08:00
|
|
|
|
|
|
|
|
@TableField(value = "pre_person_name")
|
|
|
|
|
@Schema(description = "防治人员名称")
|
|
|
|
|
private String prePersonName;
|
|
|
|
|
|
2025-08-27 15:56:44 +08:00
|
|
|
@TableField(value = "pre_method")
|
|
|
|
|
@Schema(description = "防治方法")
|
|
|
|
|
private String preMethod;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@TableField(value = "pre_effect")
|
|
|
|
|
@Schema(description = "防治效果")
|
|
|
|
|
private String preEffect;
|
|
|
|
|
|
|
|
|
|
}
|