我想知道我是否可以忽略空字段,只转换我在请求中输入的属性 我的实体: public class Entity { private String name;} 我的DTO: public class EntityDTO { private= Entity.builder();
entity.name(tipoOperacaoParcia
通常,我的服务层中的所有服务都遵循相同的模式: var response = new ApiResponseDto(); using (var db = new DbConext()){ // throw descriptive exceptions when needed } catch (Exception e