hotfix-20260126-constructor-issue: 修复构造函数的问题
This commit is contained in:
parent
66cce36d81
commit
5a15941672
@ -1,21 +1,28 @@
|
||||
package cn.axzo.msg.center.service.dto;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.Builder;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author yanglin
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Builder
|
||||
public class PersonV3DTO implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1231840051925115741L;
|
||||
|
||||
public PersonV3DTO() {}
|
||||
|
||||
public PersonV3DTO(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public PersonV3DTO(Long id, String name) {
|
||||
this.id = id;
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
/**
|
||||
* 自然人id
|
||||
*/
|
||||
|
||||
Loading…
Reference in New Issue
Block a user